#02032F#02032F

#02032F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.087 H 267.9°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#02032F
RGBrgb(2, 3, 47)
HSLhsl(239, 92%, 10%)
HSVhsv(239, 96%, 18%)
CMYKcmyk(95.7%, 93.6%, 0%, 81.6%)
CIE-LABlab(2.56, 12.34, -26.42)
CIE-LCHlch(2.56, 29.16, 295.04°)
OKLaboklab(15.02% -0.0032 -0.0872)
OKLCHoklch(15.02% 0.087 267.9)
XYZxyz(0.5705, 0.2832, 2.7134)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02032F #2F2E02
analogous
#021A2F #02032F #18022F
triadic
#02032F #2F0203 #032F02
tetradic
#02032F #2F021A #2F2E02 #022F18
square
#02032F #2F021A #2F2E02 #022F18
split-complementary
#02032F #2F1802 #1A2F02
monochromatic
#01021D #01021D #02032F #04076A #070AA4

Accessibility & contrast

On white

19.88
#02032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02032F
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02032F#FFFFFF#000000##FFFFFF
##02032F1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00072E
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #02032f;
/* rgb */ color: rgb(2, 3, 47);
/* oklch */ color: oklch(15.0% 0.087 267.9);
Tailwind
colors: {
  custom: {
    50: '#494868',
    500: '#02032f',
    950: '#000000',
  },
}
SCSS
$custom: #02032f;
$custom-light: #494868;
$custom-dark: #000000;
JSON
{
  "hex": "#02032f",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 238.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15016,
    "c": 0.08731,
    "h": 267.9
  },
  "luminance": 0.00283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #02032F

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

Preview Lab → · Contrast checker → · Palette generator →

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