#020E2F#020E2F

#020E2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.069 H 262.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#020E2F
RGBrgb(2, 14, 47)
HSLhsl(224, 92%, 10%)
HSVhsv(224, 96%, 18%)
CMYKcmyk(95.7%, 70.2%, 0%, 81.6%)
CIE-LABlab(4.81, 7.75, -22.84)
CIE-LCHlch(4.81, 24.12, 288.75°)
OKLaboklab(17.81% -0.009 -0.0688)
OKLCHoklch(17.81% 0.069 262.5)
XYZxyz(0.6950, 0.5321, 2.7549)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E2F #2F2302
analogous
#02252F #020E2F #0D022F
triadic
#020E2F #2F020E #0E2F02
tetradic
#020E2F #2F0225 #2F2302 #022F0D
square
#020E2F #2F0225 #2F2302 #022F0D
split-complementary
#020E2F #2F0D02 #252F02
monochromatic
#01091D #01091D #020E2F #041F6A #0731A4

Accessibility & contrast

On white

18.98
#020E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#020E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E2F
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E2F#FFFFFF#000000##FFFFFF
##020E2F1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020e2f;
/* rgb */ color: rgb(2, 14, 47);
/* oklch */ color: oklch(17.8% 0.069 262.5);
Tailwind
colors: {
  custom: {
    50: '#494d68',
    500: '#020e2f',
    950: '#000000',
  },
}
SCSS
$custom: #020e2f;
$custom-light: #494d68;
$custom-dark: #000000;
JSON
{
  "hex": "#020e2f",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 224,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17807,
    "c": 0.06942,
    "h": 262.5
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#020E2F
secondary
#745C19
accent
#C629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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