#020D2D#020D2D

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

Color values

HEX#020D2D
RGBrgb(2, 13, 45)
HSLhsl(225, 91%, 9%)
HSVhsv(225, 96%, 18%)
CMYKcmyk(95.6%, 71.1%, 0%, 82.4%)
CIE-LABlab(4.43, 7.23, -21.95)
CIE-LCHlch(4.43, 23.11, 288.24°)
OKLaboklab(17.33% -0.0085 -0.0671)
OKLCHoklch(17.33% 0.068 262.8)
XYZxyz(0.6424, 0.4901, 2.5429)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D2D #2D2202
analogous
#02232D #020D2D #0D022D
triadic
#020D2D #2D020D #0D2D02
tetradic
#020D2D #2D0223 #2D2202 #022D0D
square
#020D2D #2D0223 #2D2202 #022D0D
split-complementary
#020D2D #2D0D02 #232D02
monochromatic
#01081D #01081D #020D2D #051E68 #072FA2

Accessibility & contrast

On white

19.13
#020D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020D2D
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D2D#FFFFFF#000000##FFFFFF
##020D2D1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020d2d;
/* rgb */ color: rgb(2, 13, 45);
/* oklch */ color: oklch(17.3% 0.068 262.8);
Tailwind
colors: {
  custom: {
    50: '#494c66',
    500: '#020d2d',
    950: '#000000',
  },
}
SCSS
$custom: #020d2d;
$custom-light: #494c66;
$custom-dark: #000000;
JSON
{
  "hex": "#020d2d",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 224.651,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17331,
    "c": 0.06761,
    "h": 262.8
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#020D2D
secondary
#725B19
accent
#C829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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