#08112C#08112C

#08112C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.8% C 0.056 H 266.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#08112C
RGBrgb(8, 17, 44)
HSLhsl(225, 69%, 10%)
HSVhsv(225, 82%, 17%)
CMYKcmyk(81.8%, 61.4%, 0%, 82.7%)
CIE-LABlab(5.73, 6.24, -19.11)
CIE-LCHlch(5.73, 20.10, 288.07°)
OKLaboklab(18.77% -0.0031 -0.0561)
OKLCHoklch(18.77% 0.056 266.9)
XYZxyz(0.7551, 0.6343, 2.4650)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08112C #2C2308
analogous
#08232C #08112C #11082C
triadic
#08112C #2C0811 #112C08
tetradic
#08112C #2C0823 #2C2308 #082C11
square
#08112C #2C0823 #2C2308 #082C11
split-complementary
#08112C #2C1108 #232C08
monochromatic
#050A1A #050A1A #08112C #112560 #1B3994

Accessibility & contrast

On white

18.64
#08112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#08112C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08112C
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08112C#FFFFFF#000000##FFFFFF
##08112C1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #08112c;
/* rgb */ color: rgb(8, 17, 44);
/* oklch */ color: oklch(18.8% 0.056 266.9);
Tailwind
colors: {
  custom: {
    50: '#4c4f65',
    500: '#08112c',
    950: '#000000',
  },
}
SCSS
$custom: #08112c;
$custom-light: #4c4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#08112c",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 225,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18771,
    "c": 0.05617,
    "h": 266.9
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#08112C
secondary
#6B5925
accent
#C03CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08112C

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

Preview Lab → · Contrast checker → · Palette generator →

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