#08143C#08143C

#08143C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.079 H 266.6°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#08143C
RGBrgb(8, 20, 60)
HSLhsl(226, 76%, 13%)
HSVhsv(226, 87%, 24%)
CMYKcmyk(86.7%, 66.7%, 0%, 76.5%)
CIE-LABlab(7.93, 12.15, -27.28)
CIE-LCHlch(7.93, 29.86, 294.01°)
OKLaboklab(21.08% -0.0047 -0.0787)
OKLCHoklch(21.08% 0.079 266.6)
XYZxyz(1.1656, 0.8781, 4.3821)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08143C #3C3008
analogous
#082E3C #08143C #16083C
triadic
#08143C #3C0814 #143C08
tetradic
#08143C #3C082E #3C3008 #083C16
square
#08143C #3C082E #3C3008 #083C16
split-complementary
#08143C #3C1608 #2E3C08
monochromatic
#04091B #04091B #08143C #0F2672 #1638A8

Accessibility & contrast

On white

17.86
#08143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08143C
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08143C#FFFFFF#000000##FFFFFF
##08143C1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08143c;
/* rgb */ color: rgb(8, 20, 60);
/* oklch */ color: oklch(21.1% 0.079 266.6);
Tailwind
colors: {
  custom: {
    50: '#515172',
    500: '#08143c',
    950: '#000000',
  },
}
SCSS
$custom: #08143c;
$custom-light: #515172;
$custom-dark: #000000;
JSON
{
  "hex": "#08143c",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 226.154,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21084,
    "c": 0.07888,
    "h": 266.6
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#08143C
secondary
#7B6725
accent
#C735F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08143C

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

Preview Lab → · Contrast checker → · Palette generator →

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