#020015#020015

#020015 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 9.5% C 0.058 H 278.5°. Best body text is #FFFFFF at 20.72:1 contrast (WCAG AA passes).

Color values

HEX#020015
RGBrgb(2, 0, 21)
HSLhsl(246, 100%, 4%)
HSVhsv(246, 100%, 8%)
CMYKcmyk(90.5%, 100%, 0%, 91.8%)
CIE-LABlab(0.61, 3.96, -9.17)
CIE-LCHlch(0.61, 9.98, 293.35°)
OKLaboklab(9.5% 0.0086 -0.0575)
OKLCHoklch(9.5% 0.058 278.5)
XYZxyz(0.1603, 0.0670, 0.7138)
Luminance0.0007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020015 #131500
analogous
#000915 #020015 #0D0015
triadic
#020015 #150200 #001502
tetradic
#020015 #150009 #131500 #00150D
square
#020015 #150009 #131500 #00150D
split-complementary
#020015 #150D00 #091500
monochromatic
#03001F #03001F #03001F #080052 #0E008F

Accessibility & contrast

On white

20.72
#020015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.01
#020015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020015
20.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020015#FFFFFF#000000##FFFFFF
##0200151.0020.721.0120.72
#FFFFFF20.721.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000316
Deuteranopia (green-blind)
#000215
Tritanopia (blue-blind)
#000308
Achromatopsia (no color)
#020202

Design tokens & code

CSS
--color: #020015;
/* rgb */ color: rgb(2, 0, 21);
/* oklch */ color: oklch(9.5% 0.058 278.5);
Tailwind
colors: {
  custom: {
    50: '#474752',
    500: '#020015',
    950: '#000000',
  },
}
SCSS
$custom: #020015;
$custom-light: #474752;
$custom-dark: #000000;
JSON
{
  "hex": "#020015",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 21
  },
  "hsl": {
    "h": 245.714,
    "s": 100,
    "l": 4.118
  },
  "oklch": {
    "l": 0.09499,
    "c": 0.0581,
    "h": 278.5
  },
  "luminance": 0.00067
}

Semantic roles & 50–950 ramp

primary
#020015
secondary
#586011
accent
#FF29EB
background
#F4F3F4
surface
#E6E5E7
border
#C2C1C3
text
#000002
muted
#777778

Preview Lab

Preview with #020015

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

Preview Lab → · Contrast checker → · Palette generator →

#020015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva