#08113C#08113C

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

Color values

HEX#08113C
RGBrgb(8, 17, 60)
HSLhsl(230, 76%, 13%)
HSVhsv(230, 87%, 24%)
CMYKcmyk(86.7%, 71.7%, 0%, 76.5%)
CIE-LABlab(7.03, 14.36, -28.74)
CIE-LCHlch(7.03, 32.13, 296.55°)
OKLaboklab(20.39% -0.0022 -0.0833)
OKLCHoklch(20.39% 0.083 268.5)
XYZxyz(1.1159, 0.7786, 4.3656)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08113C #3C3308
analogous
#082B3C #08113C #19083C
triadic
#08113C #3C0811 #113C08
tetradic
#08113C #3C082B #3C3308 #083C19
square
#08113C #3C082B #3C3308 #083C19
split-complementary
#08113C #3C1908 #2B3C08
monochromatic
#04081B #04081B #08113C #0F2072 #1630A8

Accessibility & contrast

On white

18.17
#08113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#08113C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08113C
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08113C#FFFFFF#000000##FFFFFF
##08113C1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08113c;
/* rgb */ color: rgb(8, 17, 60);
/* oklch */ color: oklch(20.4% 0.083 268.5);
Tailwind
colors: {
  custom: {
    50: '#514e72',
    500: '#08113c',
    950: '#000000',
  },
}
SCSS
$custom: #08113c;
$custom-light: #514e72;
$custom-dark: #000000;
JSON
{
  "hex": "#08113c",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 229.615,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20386,
    "c": 0.08332,
    "h": 268.5
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#08113C
secondary
#7B6C25
accent
#D235F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #08113C

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

Preview Lab → · Contrast checker → · Palette generator →

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