#020D32#020D32

#020D32 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.076 H 263.8°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#020D32
RGBrgb(2, 13, 50)
HSLhsl(226, 92%, 10%)
HSVhsv(226, 96%, 20%)
CMYKcmyk(96%, 74%, 0%, 80.4%)
CIE-LABlab(4.80, 9.83, -25.09)
CIE-LCHlch(4.80, 26.94, 291.39°)
OKLaboklab(17.89% -0.0082 -0.0754)
OKLCHoklch(17.89% 0.076 263.8)
XYZxyz(0.7445, 0.5309, 3.0802)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D32 #322702
analogous
#022532 #020D32 #0F0232
triadic
#020D32 #32020D #0D3202
tetradic
#020D32 #320225 #322702 #02320F
square
#020D32 #320225 #322702 #02320F
split-complementary
#020D32 #320F02 #253202
monochromatic
#01081D #01081D #020D32 #041C6D #072CA8

Accessibility & contrast

On white

18.98
#020D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#020D32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020D32
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D32#FFFFFF#000000##FFFFFF
##020D321.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020d32;
/* rgb */ color: rgb(2, 13, 50);
/* oklch */ color: oklch(17.9% 0.076 263.8);
Tailwind
colors: {
  custom: {
    50: '#4a4c6a',
    500: '#020d32',
    950: '#000000',
  },
}
SCSS
$custom: #020d32;
$custom-light: #4a4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#020d32",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 50
  },
  "hsl": {
    "h": 226.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17894,
    "c": 0.0759,
    "h": 263.8
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#020D32
secondary
#766119
accent
#CE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020D32

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

Preview Lab → · Contrast checker → · Palette generator →

#020D32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva