#08142A#08142A

#08142A is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.4% C 0.048 H 261.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#08142A
RGBrgb(8, 20, 42)
HSLhsl(219, 68%, 10%)
HSVhsv(219, 81%, 16%)
CMYKcmyk(81%, 52.4%, 0%, 83.5%)
CIE-LABlab(6.49, 3.47, -16.41)
CIE-LCHlch(6.49, 16.77, 281.94°)
OKLaboklab(19.42% -0.0072 -0.0473)
OKLCHoklch(19.42% 0.048 261.3)
XYZxyz(0.7681, 0.7190, 2.2883)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08142A #2A1E08
analogous
#08252A #08142A #0D082A
triadic
#08142A #2A0814 #142A08
tetradic
#08142A #2A0825 #2A1E08 #082A0D
square
#08142A #2A0825 #2A1E08 #082A0D
split-complementary
#08142A #2A0D08 #252A08
monochromatic
#050C1A #050C1A #08142A #122C5D #1C4591

Accessibility & contrast

On white

18.36
#08142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#08142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08142A
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08142A#FFFFFF#000000##FFFFFF
##08142A1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162B
Deuteranopia (green-blind)
#05132A
Tritanopia (blue-blind)
#00191C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08142a;
/* rgb */ color: rgb(8, 20, 42);
/* oklch */ color: oklch(19.4% 0.048 261.3);
Tailwind
colors: {
  custom: {
    50: '#4b5163',
    500: '#08142a',
    950: '#000000',
  },
}
SCSS
$custom: #08142a;
$custom-light: #4b5163;
$custom-dark: #000000;
JSON
{
  "hex": "#08142a",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 218.824,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19422,
    "c": 0.04786,
    "h": 261.3
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#08142A
secondary
#695125
accent
#AD3DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #08142A

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

Preview Lab → · Contrast checker → · Palette generator →

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