#08113B#08113B

#08113B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.082 H 268.5°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#08113B
RGBrgb(8, 17, 59)
HSLhsl(229, 76%, 13%)
HSVhsv(229, 86%, 23%)
CMYKcmyk(86.4%, 71.2%, 0%, 76.9%)
CIE-LABlab(6.94, 13.87, -28.17)
CIE-LCHlch(6.94, 31.40, 296.21°)
OKLaboklab(20.28% -0.0022 -0.0817)
OKLCHoklch(20.28% 0.082 268.5)
XYZxyz(1.0897, 0.7682, 4.2277)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08113B #3B3208
analogous
#082A3B #08113B #18083B
triadic
#08113B #3B0811 #113B08
tetradic
#08113B #3B082A #3B3208 #083B18
square
#08113B #3B082A #3B3208 #083B18
split-complementary
#08113B #3B1808 #2A3B08
monochromatic
#04081B #04081B #08113B #0F2171 #1730A7

Accessibility & contrast

On white

18.20
#08113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08113B
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08113B#FFFFFF#000000##FFFFFF
##08113B1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08113b;
/* rgb */ color: rgb(8, 17, 59);
/* oklch */ color: oklch(20.3% 0.082 268.5);
Tailwind
colors: {
  custom: {
    50: '#514e71',
    500: '#08113b',
    950: '#000000',
  },
}
SCSS
$custom: #08113b;
$custom-light: #514e71;
$custom-dark: #000000;
JSON
{
  "hex": "#08113b",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 229.412,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20277,
    "c": 0.0817,
    "h": 268.5
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#08113B
secondary
#7A6B25
accent
#D135F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #08113B

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

Preview Lab → · Contrast checker → · Palette generator →

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