#020D2B#020D2B

#020D2B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.064 H 262.3°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#020D2B
RGBrgb(2, 13, 43)
HSLhsl(224, 91%, 9%)
HSVhsv(224, 95%, 17%)
CMYKcmyk(95.3%, 69.8%, 0%, 83.1%)
CIE-LABlab(4.29, 6.28, -20.66)
CIE-LCHlch(4.29, 21.59, 286.90°)
OKLaboklab(17.11% -0.0086 -0.0636)
OKLCHoklch(17.11% 0.064 262.3)
XYZxyz(0.6048, 0.4751, 2.3449)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D2B #2B2002
analogous
#02222B #020D2B #0C022B
triadic
#020D2B #2B020D #0D2B02
tetradic
#020D2B #2B0222 #2B2002 #022B0C
square
#020D2B #2B0222 #2B2002 #022B0C
split-complementary
#020D2B #2B0C02 #222B02
monochromatic
#01091D #01091D #020D2B #051F65 #0730A0

Accessibility & contrast

On white

19.18
#020D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020D2B
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D2B#FFFFFF#000000##FFFFFF
##020D2B1.0019.181.1019.18
#FFFFFF19.181.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020d2b;
/* rgb */ color: rgb(2, 13, 43);
/* oklch */ color: oklch(17.1% 0.064 262.3);
Tailwind
colors: {
  custom: {
    50: '#484c64',
    500: '#020d2b',
    950: '#000000',
  },
}
SCSS
$custom: #020d2b;
$custom-light: #484c64;
$custom-dark: #000000;
JSON
{
  "hex": "#020d2b",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 223.902,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17114,
    "c": 0.06421,
    "h": 262.3
  },
  "luminance": 0.00475
}

Semantic roles & 50–950 ramp

primary
#020D2B
secondary
#705919
accent
#C629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #020D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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