#020E28#020E28

#020E28 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.1% C 0.057 H 260.1°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#020E28
RGBrgb(2, 14, 40)
HSLhsl(221, 90%, 8%)
HSVhsv(221, 95%, 16%)
CMYKcmyk(95%, 65%, 0%, 84.3%)
CIE-LABlab(4.34, 4.45, -18.32)
CIE-LCHlch(4.34, 18.85, 283.65°)
OKLaboklab(17.08% -0.0099 -0.0566)
OKLCHoklch(17.08% 0.057 260.1)
XYZxyz(0.5649, 0.4801, 2.0700)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E28 #281C02
analogous
#022128 #020E28 #090228
triadic
#020E28 #28020E #0E2802
tetradic
#020E28 #280221 #281C02 #022809
square
#020E28 #280221 #281C02 #022809
split-complementary
#020E28 #280902 #212802
monochromatic
#010A1D #010A1D #020E28 #052262 #08379D

Accessibility & contrast

On white

19.16
#020E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020E28
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E28#FFFFFF#000000##FFFFFF
##020E281.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #020e28;
/* rgb */ color: rgb(2, 14, 40);
/* oklch */ color: oklch(17.1% 0.057 260.1);
Tailwind
colors: {
  custom: {
    50: '#484d62',
    500: '#020e28',
    950: '#000000',
  },
}
SCSS
$custom: #020e28;
$custom-light: #484d62;
$custom-dark: #000000;
JSON
{
  "hex": "#020e28",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 221.053,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17075,
    "c": 0.05745,
    "h": 260.1
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#020E28
secondary
#6D5319
accent
#BB29FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020E28

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

Preview Lab → · Contrast checker → · Palette generator →

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