#020E27#020E27

#020E27 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.0% C 0.056 H 259.6°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#020E27
RGBrgb(2, 14, 39)
HSLhsl(221, 90%, 8%)
HSVhsv(221, 95%, 15%)
CMYKcmyk(94.9%, 64.1%, 0%, 84.7%)
CIE-LABlab(4.28, 4.02, -17.65)
CIE-LCHlch(4.28, 18.10, 282.83°)
OKLaboklab(16.98% -0.01 -0.0548)
OKLCHoklch(16.98% 0.056 259.6)
XYZxyz(0.5481, 0.4734, 1.9815)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E27 #271B02
analogous
#022027 #020E27 #090227
triadic
#020E27 #27020E #0E2702
tetradic
#020E27 #270220 #271B02 #022709
square
#020E27 #270220 #271B02 #022709
split-complementary
#020E27 #270902 #202702
monochromatic
#010A1D #010A1D #020E27 #052361 #08389B

Accessibility & contrast

On white

19.19
#020E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E27
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E27#FFFFFF#000000##FFFFFF
##020E271.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#001418
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020e27;
/* rgb */ color: rgb(2, 14, 39);
/* oklch */ color: oklch(17.0% 0.056 259.6);
Tailwind
colors: {
  custom: {
    50: '#484d61',
    500: '#020e27',
    950: '#000000',
  },
}
SCSS
$custom: #020e27;
$custom-light: #484d61;
$custom-dark: #000000;
JSON
{
  "hex": "#020e27",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 220.541,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16976,
    "c": 0.05571,
    "h": 259.6
  },
  "luminance": 0.00473
}

Semantic roles & 50–950 ramp

primary
#020E27
secondary
#6C5118
accent
#BA29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #020E27

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

Preview Lab → · Contrast checker → · Palette generator →

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