#08142B#08142B

#08142B is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.050 H 261.9°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#08142B
RGBrgb(8, 20, 43)
HSLhsl(219, 69%, 10%)
HSVhsv(219, 81%, 17%)
CMYKcmyk(81.4%, 53.5%, 0%, 83.1%)
CIE-LABlab(6.56, 3.93, -17.05)
CIE-LCHlch(6.56, 17.50, 282.97°)
OKLaboklab(19.5% -0.007 -0.0491)
OKLCHoklch(19.5% 0.05 261.9)
XYZxyz(0.7862, 0.7263, 2.3838)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08142B #2B1F08
analogous
#08252B #08142B #0E082B
triadic
#08142B #2B0814 #142B08
tetradic
#08142B #2B0825 #2B1F08 #082B0E
square
#08142B #2B0825 #2B1F08 #082B0E
split-complementary
#08142B #2B0E08 #252B08
monochromatic
#050C1A #050C1A #08142B #122C5F #1B4492

Accessibility & contrast

On white

18.34
#08142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08142B
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08142B#FFFFFF#000000##FFFFFF
##08142B1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162C
Deuteranopia (green-blind)
#05132B
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08142b;
/* rgb */ color: rgb(8, 20, 43);
/* oklch */ color: oklch(19.5% 0.050 261.9);
Tailwind
colors: {
  custom: {
    50: '#4c5164',
    500: '#08142b',
    950: '#000000',
  },
}
SCSS
$custom: #08142b;
$custom-light: #4c5164;
$custom-dark: #000000;
JSON
{
  "hex": "#08142b",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 219.429,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.19504,
    "c": 0.04964,
    "h": 261.9
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#08142B
secondary
#6A5225
accent
#AF3CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08142B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#08142B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva