#08122F#08122F

#08122F is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.3% C 0.060 H 266.4°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#08122F
RGBrgb(8, 18, 47)
HSLhsl(225, 71%, 11%)
HSVhsv(225, 83%, 18%)
CMYKcmyk(83%, 61.7%, 0%, 81.6%)
CIE-LABlab(6.23, 7.13, -20.56)
CIE-LCHlch(6.23, 21.76, 289.14°)
OKLaboklab(19.31% -0.0038 -0.0598)
OKLCHoklch(19.31% 0.06 266.4)
XYZxyz(0.8294, 0.6894, 2.7781)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08122F #2F2508
analogous
#08252F #08122F #11082F
triadic
#08122F #2F0812 #122F08
tetradic
#08122F #2F0825 #2F2508 #082F11
square
#08122F #2F0825 #2F2508 #082F11
split-complementary
#08122F #2F1108 #252F08
monochromatic
#040A1A #040A1A #08122F #112663 #1A3A98

Accessibility & contrast

On white

18.46
#08122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#08122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08122F
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08122F#FFFFFF#000000##FFFFFF
##08122F1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08122f;
/* rgb */ color: rgb(8, 18, 47);
/* oklch */ color: oklch(19.3% 0.060 266.4);
Tailwind
colors: {
  custom: {
    50: '#4d4f68',
    500: '#08122f',
    950: '#000000',
  },
}
SCSS
$custom: #08122f;
$custom-light: #4d4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#08122f",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 224.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19312,
    "c": 0.05989,
    "h": 266.4
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#08122F
secondary
#6E5B25
accent
#C03AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08122F

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

Preview Lab → · Contrast checker → · Palette generator →

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