#08022E#08022E

#08022E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.085 H 278.6°. Best body text is #FFFFFF at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#08022E
RGBrgb(8, 2, 46)
HSLhsl(248, 92%, 9%)
HSVhsv(248, 96%, 18%)
CMYKcmyk(82.6%, 95.7%, 0%, 82%)
CIE-LABlab(2.64, 13.81, -25.52)
CIE-LCHlch(2.64, 29.01, 298.42°)
OKLaboklab(15.29% 0.0127 -0.0839)
OKLCHoklch(15.29% 0.085 278.6)
XYZxyz(0.6148, 0.2922, 2.6082)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08022E #282E02
analogous
#02122E #08022E #1E022E
triadic
#08022E #2E0802 #022E08
tetradic
#08022E #2E0212 #282E02 #022E1E
square
#08022E #2E0212 #282E02 #022E1E
split-complementary
#08022E #2E1E02 #122E02
monochromatic
#05011D #05011D #08022E #120569 #1C07A3

Accessibility & contrast

On white

19.84
#08022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#08022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08022E
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08022E#FFFFFF#000000##FFFFFF
##08022E1.0019.841.0619.84
#FFFFFF19.841.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2F
Deuteranopia (green-blind)
#00082D
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08022e;
/* rgb */ color: rgb(8, 2, 46);
/* oklch */ color: oklch(15.3% 0.085 278.6);
Tailwind
colors: {
  custom: {
    50: '#4c4767',
    500: '#08022e',
    950: '#000000',
  },
}
SCSS
$custom: #08022e;
$custom-light: #4c4767;
$custom-dark: #000000;
JSON
{
  "hex": "#08022e",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 248.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15287,
    "c": 0.08486,
    "h": 278.6
  },
  "luminance": 0.00292
}

Semantic roles & 50–950 ramp

primary
#08022E
secondary
#677319
accent
#FF29E2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #08022E

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

Preview Lab → · Contrast checker → · Palette generator →

#08022E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva