#020A33#020A33

#020A33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.082 H 265.3°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#020A33
RGBrgb(2, 10, 51)
HSLhsl(230, 92%, 10%)
HSVhsv(230, 96%, 20%)
CMYKcmyk(96.1%, 80.4%, 0%, 80%)
CIE-LABlab(4.24, 11.68, -26.72)
CIE-LCHlch(4.24, 29.17, 293.62°)
OKLaboklab(17.32% -0.0067 -0.0816)
OKLCHoklch(17.32% 0.082 265.3)
XYZxyz(0.7309, 0.4689, 3.1833)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A33 #332B02
analogous
#022233 #020A33 #120233
triadic
#020A33 #33020A #0A3302
tetradic
#020A33 #330222 #332B02 #023312
square
#020A33 #330222 #332B02 #023312
split-complementary
#020A33 #331202 #223302
monochromatic
#01061D #01061D #020A33 #04166E #0721A9

Accessibility & contrast

On white

19.20
#020A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A33
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A33#FFFFFF#000000##FFFFFF
##020A331.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#000C32
Tritanopia (blue-blind)
#00151D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020a33;
/* rgb */ color: rgb(2, 10, 51);
/* oklch */ color: oklch(17.3% 0.082 265.3);
Tailwind
colors: {
  custom: {
    50: '#4b4b6b',
    500: '#020a33',
    950: '#000000',
  },
}
SCSS
$custom: #020a33;
$custom-light: #4b4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#020a33",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 230.204,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17324,
    "c": 0.08185,
    "h": 265.3
  },
  "luminance": 0.00469
}

Semantic roles & 50–950 ramp

primary
#020A33
secondary
#77681A
accent
#DC29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020A33

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

Preview Lab → · Contrast checker → · Palette generator →

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