#08087F

A color in the Blue, Sky, Navy family

#08087f is a color in the Blue, Sky, Navy family: RGB(8, 8, 127), HSL(240°, 88%, 26%), CMYK(94%, 94%, 0%, 50%). Closest named color: navy. Contrast is 15.54:1 on white and 1.35:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#08087f
RGBrgb(8 8 127)
RGB (legacy)rgb(8, 8, 127)
RGB %rgb(3% 3% 50%)
HSLhsl(240 88% 26%)
HSV / HSBhsv(240, 94%, 50%)
HWBhwb(240 3% 50%)
CMYKcmyk(94%, 94%, 0%, 50%)
CIELAB (D50)lab(12.7 37.56 -64.27)
LCHlch(12.7 74.44 300.31)
OKLaboklab(0.2796 -0.0111 -0.1795)
OKLCHoklch(0.2796 0.1799 266.46)
Decimal526463

Properties

Color ToneBlue, Sky, Navy
Closest named colornavy ΔE 1.4
Closest web-safe color#000066
Hue240°
Saturation (HSL / HSV)88% / 94%
Lightness (HSL)26%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)8% / 7%
Relative luminance (WCAG)0.0176
Red / Green / Blue8 / 8 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 100.9 / 0 · As background with white / black text: Lc -103.9 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #08087f;
  --color-brand-oklch: oklch(27.96% 0.1799 266.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(8 8 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#08087f] text-[#08087f] border-[#08087f]">