#020F29#020F29

#020F29 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.5% C 0.058 H 259.4°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#020F29
RGBrgb(2, 15, 41)
HSLhsl(220, 91%, 8%)
HSVhsv(220, 95%, 16%)
CMYKcmyk(95.1%, 63.4%, 0%, 83.9%)
CIE-LABlab(4.65, 4.38, -18.58)
CIE-LCHlch(4.65, 19.09, 283.26°)
OKLaboklab(17.45% -0.0106 -0.0566)
OKLCHoklch(17.45% 0.058 259.4)
XYZxyz(0.5960, 0.5146, 2.1653)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F29 #291C02
analogous
#022229 #020F29 #080229
triadic
#020F29 #29020F #0F2902
tetradic
#020F29 #290222 #291C02 #022908
square
#020F29 #290222 #291C02 #022908
split-complementary
#020F29 #290802 #222902
monochromatic
#010B1D #010B1D #020F29 #052463 #083A9E

Accessibility & contrast

On white

19.04
#020F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020F29
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F29#FFFFFF#000000##FFFFFF
##020F291.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122A
Deuteranopia (green-blind)
#000E28
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020f29;
/* rgb */ color: rgb(2, 15, 41);
/* oklch */ color: oklch(17.5% 0.058 259.4);
Tailwind
colors: {
  custom: {
    50: '#484e63',
    500: '#020f29',
    950: '#000000',
  },
}
SCSS
$custom: #020f29;
$custom-light: #484e63;
$custom-dark: #000000;
JSON
{
  "hex": "#020f29",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 220,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17454,
    "c": 0.05761,
    "h": 259.4
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#020F29
secondary
#6E5219
accent
#B829FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020F29

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

Preview Lab → · Contrast checker → · Palette generator →

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