#08143E#08143E

#08143E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.082 H 266.8°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#08143E
RGBrgb(8, 20, 62)
HSLhsl(227, 77%, 14%)
HSVhsv(227, 87%, 24%)
CMYKcmyk(87.1%, 67.7%, 0%, 75.7%)
CIE-LABlab(8.13, 13.06, -28.39)
CIE-LCHlch(8.13, 31.25, 294.71°)
OKLaboklab(21.29% -0.0046 -0.082)
OKLCHoklch(21.29% 0.082 266.8)
XYZxyz(1.2195, 0.8996, 4.6659)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08143E #3E3208
analogous
#082F3E #08143E #17083E
triadic
#08143E #3E0814 #143E08
tetradic
#08143E #3E082F #3E3208 #083E17
square
#08143E #3E082F #3E3208 #083E17
split-complementary
#08143E #3E1708 #2F3E08
monochromatic
#03091B #03091B #08143E #0F2574 #1637AA

Accessibility & contrast

On white

17.80
#08143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#08143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08143E
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08143E#FFFFFF#000000##FFFFFF
##08143E1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08143e;
/* rgb */ color: rgb(8, 20, 62);
/* oklch */ color: oklch(21.3% 0.082 266.8);
Tailwind
colors: {
  custom: {
    50: '#525174',
    500: '#08143e',
    950: '#000000',
  },
}
SCSS
$custom: #08143e;
$custom-light: #525174;
$custom-dark: #000000;
JSON
{
  "hex": "#08143e",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 226.667,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2129,
    "c": 0.08214,
    "h": 266.8
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#08143E
secondary
#7D6925
accent
#C934F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08143E

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

Preview Lab → · Contrast checker → · Palette generator →

#08143E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva