#08142F#08142F

#08142F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.057 H 263.8°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#08142F
RGBrgb(8, 20, 47)
HSLhsl(222, 71%, 11%)
HSVhsv(222, 83%, 18%)
CMYKcmyk(83%, 57.4%, 0%, 81.6%)
CIE-LABlab(6.84, 5.88, -19.58)
CIE-LCHlch(6.84, 20.44, 286.70°)
OKLaboklab(19.85% -0.0061 -0.0564)
OKLCHoklch(19.85% 0.057 263.8)
XYZxyz(0.8632, 0.7571, 2.7894)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08142F #2F2308
analogous
#08272F #08142F #0F082F
triadic
#08142F #2F0814 #142F08
tetradic
#08142F #2F0827 #2F2308 #082F0F
square
#08142F #2F0827 #2F2308 #082F0F
split-complementary
#08142F #2F0F08 #272F08
monochromatic
#040B1A #040B1A #08142F #112A63 #1A4198

Accessibility & contrast

On white

18.24
#08142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08142F
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08142F#FFFFFF#000000##FFFFFF
##08142F1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08142f;
/* rgb */ color: rgb(8, 20, 47);
/* oklch */ color: oklch(19.8% 0.057 263.8);
Tailwind
colors: {
  custom: {
    50: '#4d5167',
    500: '#08142f',
    950: '#000000',
  },
}
SCSS
$custom: #08142f;
$custom-light: #4d5167;
$custom-dark: #000000;
JSON
{
  "hex": "#08142f",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 221.538,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19846,
    "c": 0.05674,
    "h": 263.8
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#08142F
secondary
#6E5725
accent
#B63AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08142F

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

Preview Lab → · Contrast checker → · Palette generator →

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