#02032E#02032E

#02032E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.086 H 268.0°. Best body text is #FFFFFF at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#02032E
RGBrgb(2, 3, 46)
HSLhsl(239, 92%, 9%)
HSVhsv(239, 96%, 18%)
CMYKcmyk(95.7%, 93.5%, 0%, 82%)
CIE-LABlab(2.49, 11.84, -25.78)
CIE-LCHlch(2.49, 28.37, 294.67°)
OKLaboklab(14.86% -0.0029 -0.0858)
OKLCHoklch(14.86% 0.086 268)
XYZxyz(0.5506, 0.2752, 2.6083)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02032E #2E2D02
analogous
#02192E #02032E #17022E
triadic
#02032E #2E0203 #032E02
tetradic
#02032E #2E0219 #2E2D02 #022E17
square
#02032E #2E0219 #2E2D02 #022E17
split-complementary
#02032E #2E1702 #192E02
monochromatic
#01021D #01021D #02032E #050769 #070BA3

Accessibility & contrast

On white

19.91
#02032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02032E
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02032E#FFFFFF#000000##FFFFFF
##02032E1.0019.911.0619.91
#FFFFFF19.911.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2F
Deuteranopia (green-blind)
#00072D
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #02032e;
/* rgb */ color: rgb(2, 3, 46);
/* oklch */ color: oklch(14.9% 0.086 268.0);
Tailwind
colors: {
  custom: {
    50: '#494867',
    500: '#02032e',
    950: '#000000',
  },
}
SCSS
$custom: #02032e;
$custom-light: #494867;
$custom-dark: #000000;
JSON
{
  "hex": "#02032e",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 238.636,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.14864,
    "c": 0.08587,
    "h": 268
  },
  "luminance": 0.00275
}

Semantic roles & 50–950 ramp

primary
#02032E
secondary
#737119
accent
#FA29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #02032E

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

Preview Lab → · Contrast checker → · Palette generator →

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