#020B29#020B29

#020B29 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.064 H 263.5°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#020B29
RGBrgb(2, 11, 41)
HSLhsl(226, 91%, 8%)
HSVhsv(226, 95%, 16%)
CMYKcmyk(95.1%, 73.2%, 0%, 83.9%)
CIE-LABlab(3.72, 6.26, -20.04)
CIE-LCHlch(3.72, 20.99, 287.36°)
OKLaboklab(16.37% -0.0072 -0.0635)
OKLCHoklch(16.37% 0.064 263.5)
XYZxyz(0.5448, 0.4123, 2.1483)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B29 #292002
analogous
#021E29 #020B29 #0C0229
triadic
#020B29 #29020B #0B2902
tetradic
#020B29 #29021E #292002 #02290C
square
#020B29 #29021E #292002 #02290C
split-complementary
#020B29 #290C02 #1E2902
monochromatic
#01081D #01081D #020B29 #051B63 #082A9E

Accessibility & contrast

On white

19.40
#020B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020B29
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B29#FFFFFF#000000##FFFFFF
##020B291.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2A
Deuteranopia (green-blind)
#000B28
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020b29;
/* rgb */ color: rgb(2, 11, 41);
/* oklch */ color: oklch(16.4% 0.064 263.5);
Tailwind
colors: {
  custom: {
    50: '#484b63',
    500: '#020b29',
    950: '#000000',
  },
}
SCSS
$custom: #020b29;
$custom-light: #484b63;
$custom-dark: #000000;
JSON
{
  "hex": "#020b29",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 226.154,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16372,
    "c": 0.06395,
    "h": 263.5
  },
  "luminance": 0.00412
}

Semantic roles & 50–950 ramp

primary
#020B29
secondary
#6E5A19
accent
#CE29FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020B29

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

Preview Lab → · Contrast checker → · Palette generator →

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