#020E26#020E26

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

Color values

HEX#020E26
RGBrgb(2, 14, 38)
HSLhsl(220, 90%, 8%)
HSVhsv(220, 95%, 15%)
CMYKcmyk(94.7%, 63.2%, 0%, 85.1%)
CIE-LABlab(4.22, 3.61, -16.98)
CIE-LCHlch(4.22, 17.35, 281.99°)
OKLaboklab(16.88% -0.0102 -0.053)
OKLCHoklch(16.88% 0.054 259.1)
XYZxyz(0.5318, 0.4669, 1.8954)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E26 #261A02
analogous
#022026 #020E26 #080226
triadic
#020E26 #26020E #0E2602
tetradic
#020E26 #260220 #261A02 #022608
square
#020E26 #260220 #261A02 #022608
split-complementary
#020E26 #260802 #202602
monochromatic
#020B1D #020B1D #020E26 #052360 #08399A

Accessibility & contrast

On white

19.21
#020E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020E26
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E26#FFFFFF#000000##FFFFFF
##020E261.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #020e26;
/* rgb */ color: rgb(2, 14, 38);
/* oklch */ color: oklch(16.9% 0.054 259.1);
Tailwind
colors: {
  custom: {
    50: '#474d60',
    500: '#020e26',
    950: '#000000',
  },
}
SCSS
$custom: #020e26;
$custom-light: #474d60;
$custom-dark: #000000;
JSON
{
  "hex": "#020e26",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 220,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16878,
    "c": 0.05395,
    "h": 259.1
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#020E26
secondary
#6B5018
accent
#B829FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #020E26

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

Preview Lab → · Contrast checker → · Palette generator →

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