#020A29#020A29

#020A29 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.066 H 264.3°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#020A29
RGBrgb(2, 10, 41)
HSLhsl(228, 91%, 8%)
HSVhsv(228, 95%, 16%)
CMYKcmyk(95.1%, 75.6%, 0%, 83.9%)
CIE-LABlab(3.52, 6.68, -20.35)
CIE-LCHlch(3.52, 21.42, 288.17°)
OKLaboklab(16.12% -0.0065 -0.0652)
OKLCHoklch(16.12% 0.066 264.3)
XYZxyz(0.5337, 0.3900, 2.1445)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A29 #292102
analogous
#021D29 #020A29 #0D0229
triadic
#020A29 #29020A #0A2902
tetradic
#020A29 #29021D #292102 #02290D
square
#020A29 #29021D #292102 #02290D
split-complementary
#020A29 #290D02 #1D2902
monochromatic
#01071D #01071D #020A29 #051863 #08269E

Accessibility & contrast

On white

19.48
#020A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020A29
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A29#FFFFFF#000000##FFFFFF
##020A291.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #020a29;
/* rgb */ color: rgb(2, 10, 41);
/* oklch */ color: oklch(16.1% 0.066 264.3);
Tailwind
colors: {
  custom: {
    50: '#484b63',
    500: '#020a29',
    950: '#000000',
  },
}
SCSS
$custom: #020a29;
$custom-light: #484b63;
$custom-dark: #000000;
JSON
{
  "hex": "#020a29",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 227.692,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16117,
    "c": 0.06551,
    "h": 264.3
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#020A29
secondary
#6E5D19
accent
#D329FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020A29

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

Preview Lab → · Contrast checker → · Palette generator →

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