#020D2E#020D2E

#020D2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.069 H 263.0°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#020D2E
RGBrgb(2, 13, 46)
HSLhsl(225, 92%, 9%)
HSVhsv(225, 96%, 18%)
CMYKcmyk(95.7%, 71.7%, 0%, 82%)
CIE-LABlab(4.50, 7.73, -22.59)
CIE-LCHlch(4.50, 23.87, 288.89°)
OKLaboklab(17.44% -0.0084 -0.0688)
OKLCHoklch(17.44% 0.069 263)
XYZxyz(0.6619, 0.4979, 2.6455)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D2E #2E2302
analogous
#02232E #020D2E #0D022E
triadic
#020D2E #2E020D #0D2E02
tetradic
#020D2E #2E0223 #2E2302 #022E0D
square
#020D2E #2E0223 #2E2302 #022E0D
split-complementary
#020D2E #2E0D02 #232E02
monochromatic
#01081D #01081D #020D2E #051E69 #072EA3

Accessibility & contrast

On white

19.10
#020D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020D2E
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D2E#FFFFFF#000000##FFFFFF
##020D2E1.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020d2e;
/* rgb */ color: rgb(2, 13, 46);
/* oklch */ color: oklch(17.4% 0.069 263.0);
Tailwind
colors: {
  custom: {
    50: '#494c67',
    500: '#020d2e',
    950: '#000000',
  },
}
SCSS
$custom: #020d2e;
$custom-light: #494c67;
$custom-dark: #000000;
JSON
{
  "hex": "#020d2e",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 225,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17442,
    "c": 0.06929,
    "h": 263
  },
  "luminance": 0.00498
}

Semantic roles & 50–950 ramp

primary
#020D2E
secondary
#735C19
accent
#C929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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