#020D33#020D33

#020D33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.078 H 263.9°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#020D33
RGBrgb(2, 13, 51)
HSLhsl(227, 92%, 10%)
HSVhsv(227, 96%, 20%)
CMYKcmyk(96.1%, 74.5%, 0%, 80%)
CIE-LABlab(4.88, 10.38, -25.70)
CIE-LCHlch(4.88, 27.71, 291.99°)
OKLaboklab(18.01% -0.0082 -0.0771)
OKLCHoklch(18.01% 0.078 263.9)
XYZxyz(0.7663, 0.5397, 3.1951)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D33 #332802
analogous
#022533 #020D33 #100233
triadic
#020D33 #33020D #0D3302
tetradic
#020D33 #330225 #332802 #023310
square
#020D33 #330225 #332802 #023310
split-complementary
#020D33 #331002 #253302
monochromatic
#01081D #01081D #020D33 #041C6E #072BA9

Accessibility & contrast

On white

18.95
#020D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020D33
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D33#FFFFFF#000000##FFFFFF
##020D331.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#000E32
Tritanopia (blue-blind)
#00171E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #020d33;
/* rgb */ color: rgb(2, 13, 51);
/* oklch */ color: oklch(18.0% 0.078 263.9);
Tailwind
colors: {
  custom: {
    50: '#4b4c6b',
    500: '#020d33',
    950: '#000000',
  },
}
SCSS
$custom: #020d33;
$custom-light: #4b4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#020d33",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 226.531,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1801,
    "c": 0.07752,
    "h": 263.9
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#020D33
secondary
#77621A
accent
#CF29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020D33

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

Preview Lab → · Contrast checker → · Palette generator →

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