#08143F#08143F

#08143F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.084 H 266.9°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#08143F
RGBrgb(8, 20, 63)
HSLhsl(227, 77%, 14%)
HSVhsv(227, 87%, 25%)
CMYKcmyk(87.3%, 68.3%, 0%, 75.3%)
CIE-LABlab(8.22, 13.52, -28.94)
CIE-LCHlch(8.22, 31.94, 295.04°)
OKLaboklab(21.4% -0.0046 -0.0836)
OKLCHoklch(21.4% 0.084 266.9)
XYZxyz(1.2472, 0.9107, 4.8117)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08143F #3F3308
analogous
#08303F #08143F #18083F
triadic
#08143F #3F0814 #143F08
tetradic
#08143F #3F0830 #3F3308 #083F18
square
#08143F #3F0830 #3F3308 #083F18
split-complementary
#08143F #3F1808 #303F08
monochromatic
#03091B #03091B #08143F #0F2575 #1636AC

Accessibility & contrast

On white

17.76
#08143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08143F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08143F#FFFFFF#000000##FFFFFF
##08143F1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08143f;
/* rgb */ color: rgb(8, 20, 63);
/* oklch */ color: oklch(21.4% 0.084 266.9);
Tailwind
colors: {
  custom: {
    50: '#525174',
    500: '#08143f',
    950: '#000000',
  },
}
SCSS
$custom: #08143f;
$custom-light: #525174;
$custom-dark: #000000;
JSON
{
  "hex": "#08143f",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 226.909,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21395,
    "c": 0.08376,
    "h": 266.9
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#08143F
secondary
#7E6A25
accent
#CA34F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #08143F

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

Preview Lab → · Contrast checker → · Palette generator →

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