#020F27#020F27

#020F27 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.3% C 0.054 H 258.3°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#020F27
RGBrgb(2, 15, 39)
HSLhsl(219, 90%, 8%)
HSVhsv(219, 95%, 15%)
CMYKcmyk(94.9%, 61.5%, 0%, 84.7%)
CIE-LABlab(4.53, 3.51, -17.26)
CIE-LCHlch(4.53, 17.61, 281.50°)
OKLaboklab(17.26% -0.011 -0.053)
OKLCHoklch(17.26% 0.054 258.3)
XYZxyz(0.5619, 0.5010, 1.9861)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F27 #271A02
analogous
#022127 #020F27 #070227
triadic
#020F27 #27020F #0F2702
tetradic
#020F27 #270221 #271A02 #022707
square
#020F27 #270221 #271A02 #022707
split-complementary
#020F27 #270702 #212702
monochromatic
#010B1D #010B1D #020F27 #052561 #083C9B

Accessibility & contrast

On white

19.09
#020F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020F27
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F27#FFFFFF#000000##FFFFFF
##020F271.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031228
Deuteranopia (green-blind)
#000E27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020f27;
/* rgb */ color: rgb(2, 15, 39);
/* oklch */ color: oklch(17.3% 0.054 258.3);
Tailwind
colors: {
  custom: {
    50: '#484e61',
    500: '#020f27',
    950: '#000000',
  },
}
SCSS
$custom: #020f27;
$custom-light: #484e61;
$custom-dark: #000000;
JSON
{
  "hex": "#020f27",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 218.919,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1726,
    "c": 0.05414,
    "h": 258.3
  },
  "luminance": 0.00501
}

Semantic roles & 50–950 ramp

primary
#020F27
secondary
#6C4F18
accent
#B429FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #020F27

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

Preview Lab → · Contrast checker → · Palette generator →

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