#02081E#02081E

#02081E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.3% C 0.050 H 263.6°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#02081E
RGBrgb(2, 8, 30)
HSLhsl(227, 88%, 6%)
HSVhsv(227, 93%, 12%)
CMYKcmyk(93.3%, 73.3%, 0%, 88.2%)
CIE-LABlab(2.53, 3.26, -13.33)
CIE-LCHlch(2.53, 13.73, 283.76°)
OKLaboklab(14.33% -0.0055 -0.0492)
OKLCHoklch(14.33% 0.05 263.6)
XYZxyz(0.3461, 0.2803, 1.2639)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02081E #1E1802
analogous
#02161E #02081E #0A021E
triadic
#02081E #1E0208 #081E02
tetradic
#02081E #1E0216 #1E1802 #021E0A
square
#02081E #1E0216 #1E1802 #021E0A
split-complementary
#02081E #1E0A02 #161E02
monochromatic
#02081D #02081D #02081E #061757 #0A2791

Accessibility & contrast

On white

19.89
#02081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02081E
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02081E#FFFFFF#000000##FFFFFF
##02081E1.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B1F
Deuteranopia (green-blind)
#00081E
Tritanopia (blue-blind)
#000D11
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #02081e;
/* rgb */ color: rgb(2, 8, 30);
/* oklch */ color: oklch(14.3% 0.050 263.6);
Tailwind
colors: {
  custom: {
    50: '#474a59',
    500: '#02081e',
    950: '#000000',
  },
}
SCSS
$custom: #02081e;
$custom-light: #474a59;
$custom-dark: #000000;
JSON
{
  "hex": "#02081e",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 227.143,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.14327,
    "c": 0.04956,
    "h": 263.6
  },
  "luminance": 0.0028
}

Semantic roles & 50–950 ramp

primary
#02081E
secondary
#645418
accent
#D02AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #02081E

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

Preview Lab → · Contrast checker → · Palette generator →

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