#02091C#02091C

#02091C is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.4% C 0.044 H 260.9°. Best body text is #FFFFFF at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#02091C
RGBrgb(2, 9, 28)
HSLhsl(224, 87%, 6%)
HSVhsv(224, 93%, 11%)
CMYKcmyk(92.9%, 67.9%, 0%, 89%)
CIE-LABlab(2.64, 2.24, -11.58)
CIE-LCHlch(2.64, 11.80, 280.92°)
OKLaboklab(14.44% -0.007 -0.0435)
OKLCHoklch(14.44% 0.044 260.9)
XYZxyz(0.3322, 0.2921, 1.1373)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02091C #1C1502
analogous
#02161C #02091C #08021C
triadic
#02091C #1C0209 #091C02
tetradic
#02091C #1C0216 #1C1502 #021C08
square
#02091C #1C0216 #1C1502 #021C08
split-complementary
#02091C #1C0802 #161C02
monochromatic
#02091D #02091D #02091D #061B55 #0A2E8E

Accessibility & contrast

On white

19.84
#02091C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02091C
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02091C#FFFFFF#000000##FFFFFF
##02091C1.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)
#020B1D
Deuteranopia (green-blind)
#00081C
Tritanopia (blue-blind)
#000E11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #02091c;
/* rgb */ color: rgb(2, 9, 28);
/* oklch */ color: oklch(14.4% 0.044 260.9);
Tailwind
colors: {
  custom: {
    50: '#474b58',
    500: '#02091c',
    950: '#000000',
  },
}
SCSS
$custom: #02091c;
$custom-light: #474b58;
$custom-dark: #000000;
JSON
{
  "hex": "#02091c",
  "rgb": {
    "r": 2,
    "g": 9,
    "b": 28
  },
  "hsl": {
    "h": 223.846,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.14439,
    "c": 0.04403,
    "h": 260.9
  },
  "luminance": 0.00292
}

Semantic roles & 50–950 ramp

primary
#02091C
secondary
#624E18
accent
#C42BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #02091C

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

Preview Lab → · Contrast checker → · Palette generator →

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