#020D26#020D26

#020D26 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.6% C 0.056 H 260.4°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#020D26
RGBrgb(2, 13, 38)
HSLhsl(222, 90%, 8%)
HSVhsv(222, 95%, 15%)
CMYKcmyk(94.7%, 65.8%, 0%, 85.1%)
CIE-LABlab(3.98, 4.09, -17.35)
CIE-LCHlch(3.98, 17.82, 283.28°)
OKLaboklab(16.6% -0.0093 -0.0548)
OKLCHoklch(16.6% 0.056 260.4)
XYZxyz(0.5187, 0.4406, 1.8911)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D26 #261B02
analogous
#021F26 #020D26 #090226
triadic
#020D26 #26020D #0D2602
tetradic
#020D26 #26021F #261B02 #022609
square
#020D26 #26021F #261B02 #022609
split-complementary
#020D26 #260902 #1F2602
monochromatic
#020A1D #020A1D #020D26 #052160 #08359A

Accessibility & contrast

On white

19.30
#020D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020D26
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D26#FFFFFF#000000##FFFFFF
##020D261.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011027
Deuteranopia (green-blind)
#000C26
Tritanopia (blue-blind)
#001317
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #020d26;
/* rgb */ color: rgb(2, 13, 38);
/* oklch */ color: oklch(16.6% 0.056 260.4);
Tailwind
colors: {
  custom: {
    50: '#474c60',
    500: '#020d26',
    950: '#000000',
  },
}
SCSS
$custom: #020d26;
$custom-light: #474c60;
$custom-dark: #000000;
JSON
{
  "hex": "#020d26",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 221.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16595,
    "c": 0.05555,
    "h": 260.4
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#020D26
secondary
#6B5218
accent
#BE29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #020D26

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

Preview Lab → · Contrast checker → · Palette generator →

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