#08122C#08122C

#08122C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.0% C 0.055 H 265.5°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#08122C
RGBrgb(8, 18, 44)
HSLhsl(223, 69%, 10%)
HSVhsv(223, 82%, 17%)
CMYKcmyk(81.8%, 59.1%, 0%, 82.7%)
CIE-LABlab(6.02, 5.65, -18.66)
CIE-LCHlch(6.02, 19.50, 286.84°)
OKLaboklab(19.04% -0.0043 -0.0544)
OKLCHoklch(19.04% 0.055 265.5)
XYZxyz(0.7709, 0.6660, 2.4703)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08122C #2C2208
analogous
#08242C #08122C #10082C
triadic
#08122C #2C0812 #122C08
tetradic
#08122C #2C0824 #2C2208 #082C10
square
#08122C #2C0824 #2C2208 #082C10
split-complementary
#08122C #2C1008 #242C08
monochromatic
#050B1A #050B1A #08122C #112760 #1B3C94

Accessibility & contrast

On white

18.53
#08122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08122C
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08122C#FFFFFF#000000##FFFFFF
##08122C1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#01122B
Tritanopia (blue-blind)
#00181C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #08122c;
/* rgb */ color: rgb(8, 18, 44);
/* oklch */ color: oklch(19.0% 0.055 265.5);
Tailwind
colors: {
  custom: {
    50: '#4c4f65',
    500: '#08122c',
    950: '#000000',
  },
}
SCSS
$custom: #08122c;
$custom-light: #4c4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#08122c",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 223.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19039,
    "c": 0.05457,
    "h": 265.5
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#08122C
secondary
#6B5725
accent
#BB3CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08122C

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

Preview Lab → · Contrast checker → · Palette generator →

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