#020B33#020B33

#020B33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.080 H 264.9°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#020B33
RGBrgb(2, 11, 51)
HSLhsl(229, 92%, 10%)
HSVhsv(229, 96%, 20%)
CMYKcmyk(96.1%, 78.4%, 0%, 80%)
CIE-LABlab(4.44, 11.27, -26.40)
CIE-LCHlch(4.44, 28.71, 293.12°)
OKLaboklab(17.55% -0.0071 -0.0801)
OKLCHoklch(17.55% 0.08 264.9)
XYZxyz(0.7420, 0.4912, 3.1870)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B33 #332A02
analogous
#022333 #020B33 #120233
triadic
#020B33 #33020B #0B3302
tetradic
#020B33 #330223 #332A02 #023312
square
#020B33 #330223 #332A02 #023312
split-complementary
#020B33 #331202 #233302
monochromatic
#01061D #01061D #020B33 #04186E #0724A9

Accessibility & contrast

On white

19.12
#020B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#020B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020B33
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B33#FFFFFF#000000##FFFFFF
##020B331.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#000D32
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020b33;
/* rgb */ color: rgb(2, 11, 51);
/* oklch */ color: oklch(17.5% 0.080 264.9);
Tailwind
colors: {
  custom: {
    50: '#4b4b6b',
    500: '#020b33',
    950: '#000000',
  },
}
SCSS
$custom: #020b33;
$custom-light: #4b4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#020b33",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 228.98,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17546,
    "c": 0.08044,
    "h": 264.9
  },
  "luminance": 0.00491
}

Semantic roles & 50–950 ramp

primary
#020B33
secondary
#77661A
accent
#D829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020B33

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

Preview Lab → · Contrast checker → · Palette generator →

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