#020A2D#020A2D

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

Color values

HEX#020A2D
RGBrgb(2, 10, 45)
HSLhsl(229, 91%, 9%)
HSVhsv(229, 96%, 18%)
CMYKcmyk(95.6%, 77.8%, 0%, 82.4%)
CIE-LABlab(3.79, 8.54, -22.96)
CIE-LCHlch(3.79, 24.50, 290.40°)
OKLaboklab(16.59% -0.0065 -0.0719)
OKLCHoklch(16.59% 0.072 264.9)
XYZxyz(0.6071, 0.4194, 2.5311)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A2D #2D2502
analogous
#02202D #020A2D #10022D
triadic
#020A2D #2D020A #0A2D02
tetradic
#020A2D #2D0220 #2D2502 #022D10
square
#020A2D #2D0220 #2D2502 #022D10
split-complementary
#020A2D #2D1002 #202D02
monochromatic
#01071D #01071D #020A2D #051768 #0724A2

Accessibility & contrast

On white

19.38
#020A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020A2D
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A2D#FFFFFF#000000##FFFFFF
##020A2D1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020a2d;
/* rgb */ color: rgb(2, 10, 45);
/* oklch */ color: oklch(16.6% 0.072 264.9);
Tailwind
colors: {
  custom: {
    50: '#494b66',
    500: '#020a2d',
    950: '#000000',
  },
}
SCSS
$custom: #020a2d;
$custom-light: #494b66;
$custom-dark: #000000;
JSON
{
  "hex": "#020a2d",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 228.837,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16587,
    "c": 0.07221,
    "h": 264.9
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#020A2D
secondary
#726119
accent
#D729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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