#08022C#08022C

#08022C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.082 H 279.5°. Best body text is #FFFFFF at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#08022C
RGBrgb(8, 2, 44)
HSLhsl(249, 91%, 9%)
HSVhsv(249, 95%, 17%)
CMYKcmyk(81.8%, 95.5%, 0%, 82.7%)
CIE-LABlab(2.50, 12.83, -24.22)
CIE-LCHlch(2.50, 27.41, 297.91°)
OKLaboklab(15% 0.0136 -0.0809)
OKLCHoklch(15% 0.082 279.5)
XYZxyz(0.5763, 0.2768, 2.4054)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08022C #262C02
analogous
#02112C #08022C #1D022C
triadic
#08022C #2C0802 #022C08
tetradic
#08022C #2C0211 #262C02 #022C1D
square
#08022C #2C0211 #262C02 #022C1D
split-complementary
#08022C #2C1D02 #112C02
monochromatic
#05011D #05011D #08022C #130567 #1D07A1

Accessibility & contrast

On white

19.90
#08022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08022C
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08022C#FFFFFF#000000##FFFFFF
##08022C1.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#00082B
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08022c;
/* rgb */ color: rgb(8, 2, 44);
/* oklch */ color: oklch(15.0% 0.082 279.5);
Tailwind
colors: {
  custom: {
    50: '#4b4765',
    500: '#08022c',
    950: '#000000',
  },
}
SCSS
$custom: #08022c;
$custom-light: #4b4765;
$custom-dark: #000000;
JSON
{
  "hex": "#08022c",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 248.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.14999,
    "c": 0.08207,
    "h": 279.5
  },
  "luminance": 0.00277
}

Semantic roles & 50–950 ramp

primary
#08022C
secondary
#647119
accent
#FF29E0
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08022C

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

Preview Lab → · Contrast checker → · Palette generator →

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