#08143B#08143B

#08143B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.077 H 266.5°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#08143B
RGBrgb(8, 20, 59)
HSLhsl(226, 76%, 13%)
HSVhsv(226, 86%, 23%)
CMYKcmyk(86.4%, 66.1%, 0%, 76.9%)
CIE-LABlab(7.84, 11.69, -26.71)
CIE-LCHlch(7.84, 29.16, 293.63°)
OKLaboklab(20.98% -0.0047 -0.0771)
OKLCHoklch(20.98% 0.077 266.5)
XYZxyz(1.1394, 0.8676, 4.2442)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08143B #3B2F08
analogous
#082D3B #08143B #15083B
triadic
#08143B #3B0814 #143B08
tetradic
#08143B #3B082D #3B2F08 #083B15
square
#08143B #3B082D #3B2F08 #083B15
split-complementary
#08143B #3B1508 #2D3B08
monochromatic
#04091B #04091B #08143B #0F2671 #1739A7

Accessibility & contrast

On white

17.89
#08143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#08143B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08143B
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08143B#FFFFFF#000000##FFFFFF
##08143B1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08143b;
/* rgb */ color: rgb(8, 20, 59);
/* oklch */ color: oklch(21.0% 0.077 266.5);
Tailwind
colors: {
  custom: {
    50: '#515171',
    500: '#08143b',
    950: '#000000',
  },
}
SCSS
$custom: #08143b;
$custom-light: #515171;
$custom-dark: #000000;
JSON
{
  "hex": "#08143b",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 225.882,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20983,
    "c": 0.07723,
    "h": 266.5
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#08143B
secondary
#7A6625
accent
#C635F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08143B

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

Preview Lab → · Contrast checker → · Palette generator →

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