#08091F#08091F

#08091F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.4% C 0.046 H 277.4°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#08091F
RGBrgb(8, 9, 31)
HSLhsl(237, 59%, 8%)
HSVhsv(237, 74%, 12%)
CMYKcmyk(74.2%, 71%, 0%, 87.8%)
CIE-LABlab(3.12, 4.77, -13.20)
CIE-LCHlch(3.12, 14.03, 289.86°)
OKLaboklab(15.44% 0.0059 -0.0455)
OKLCHoklch(15.44% 0.046 277.4)
XYZxyz(0.4451, 0.3459, 1.3394)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08091F #1F1E08
analogous
#08141F #08091F #12081F
triadic
#08091F #1F0809 #091F08
tetradic
#08091F #1F0814 #1F1E08 #081F12
square
#08091F #1F0814 #1F1E08 #081F12
split-complementary
#08091F #1F1208 #141F08
monochromatic
#060718 #060718 #08091F #151750 #212580

Accessibility & contrast

On white

19.64
#08091F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#08091F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08091F
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08091F#FFFFFF#000000##FFFFFF
##08091F1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C20
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#010E12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #08091f;
/* rgb */ color: rgb(8, 9, 31);
/* oklch */ color: oklch(15.4% 0.046 277.4);
Tailwind
colors: {
  custom: {
    50: '#4a4b5a',
    500: '#08091f',
    950: '#000000',
  },
}
SCSS
$custom: #08091f;
$custom-light: #4a4b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08091f",
  "rgb": {
    "r": 8,
    "g": 9,
    "b": 31
  },
  "hsl": {
    "h": 237.391,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15439,
    "c": 0.0459,
    "h": 277.4
  },
  "luminance": 0.00346
}

Semantic roles & 50–950 ramp

primary
#08091F
secondary
#5C5A26
accent
#DB46E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08091F

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

Preview Lab → · Contrast checker → · Palette generator →

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