#08142D#08142D

#08142D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.7% C 0.053 H 263.0°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#08142D
RGBrgb(8, 20, 45)
HSLhsl(221, 70%, 10%)
HSVhsv(221, 82%, 18%)
CMYKcmyk(82.2%, 55.6%, 0%, 82.4%)
CIE-LABlab(6.70, 4.88, -18.33)
CIE-LCHlch(6.70, 18.97, 284.92°)
OKLaboklab(19.67% -0.0065 -0.0528)
OKLCHoklch(19.67% 0.053 263)
XYZxyz(0.8238, 0.7413, 2.5818)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08142D #2D2108
analogous
#08262D #08142D #0F082D
triadic
#08142D #2D0814 #142D08
tetradic
#08142D #2D0826 #2D2108 #082D0F
square
#08142D #2D0826 #2D2108 #082D0F
split-complementary
#08142D #2D0F08 #262D08
monochromatic
#050C1A #050C1A #08142D #112B61 #1A4295

Accessibility & contrast

On white

18.29
#08142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08142D
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08142D#FFFFFF#000000##FFFFFF
##08142D1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#03132C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08142d;
/* rgb */ color: rgb(8, 20, 45);
/* oklch */ color: oklch(19.7% 0.053 263.0);
Tailwind
colors: {
  custom: {
    50: '#4c5166',
    500: '#08142d',
    950: '#000000',
  },
}
SCSS
$custom: #08142d;
$custom-light: #4c5166;
$custom-dark: #000000;
JSON
{
  "hex": "#08142d",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 220.541,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19672,
    "c": 0.05321,
    "h": 263
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#08142D
secondary
#6C5525
accent
#B33BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08142D

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

Preview Lab → · Contrast checker → · Palette generator →

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