#020B2B#020B2B

#020B2B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.067 H 263.9°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#020B2B
RGBrgb(2, 11, 43)
HSLhsl(227, 91%, 9%)
HSVhsv(227, 95%, 17%)
CMYKcmyk(95.3%, 74.4%, 0%, 83.1%)
CIE-LABlab(3.85, 7.17, -21.35)
CIE-LCHlch(3.85, 22.52, 288.57°)
OKLaboklab(16.6% -0.0071 -0.067)
OKLCHoklch(16.6% 0.067 263.9)
XYZxyz(0.5806, 0.4266, 2.3368)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B2B #2B2202
analogous
#02202B #020B2B #0E022B
triadic
#020B2B #2B020B #0B2B02
tetradic
#020B2B #2B0220 #2B2202 #022B0E
square
#020B2B #2B0220 #2B2202 #022B0E
split-complementary
#020B2B #2B0E02 #202B02
monochromatic
#01071D #01071D #020B2B #051A65 #0729A0

Accessibility & contrast

On white

19.35
#020B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020B2B
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B2B#FFFFFF#000000##FFFFFF
##020B2B1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #020b2b;
/* rgb */ color: rgb(2, 11, 43);
/* oklch */ color: oklch(16.6% 0.067 263.9);
Tailwind
colors: {
  custom: {
    50: '#484b64',
    500: '#020b2b',
    950: '#000000',
  },
}
SCSS
$custom: #020b2b;
$custom-light: #484b64;
$custom-dark: #000000;
JSON
{
  "hex": "#020b2b",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 226.829,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16598,
    "c": 0.06735,
    "h": 263.9
  },
  "luminance": 0.00427
}

Semantic roles & 50–950 ramp

primary
#020B2B
secondary
#705D19
accent
#D029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #020B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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