#1E202A#1E202A

#1E202A is a very dark, near-neutral blue. Relative luminance 0.015; OKLCH L 24.6% C 0.019 H 276.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#1E202A
RGBrgb(30, 32, 42)
HSLhsl(230, 17%, 14%)
HSVhsv(230, 29%, 16%)
CMYKcmyk(28.6%, 23.8%, 0%, 83.5%)
CIE-LABlab(12.46, 1.91, -7.00)
CIE-LCHlch(12.46, 7.25, 285.28°)
OKLaboklab(24.6% 0.002 -0.0191)
OKLCHoklch(24.6% 0.019 276.1)
XYZxyz(1.4697, 1.4762, 2.3975)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E202A #2A281E
analogous
#1E262A #1E202A #221E2A
triadic
#1E202A #2A1E20 #202A1E
tetradic
#1E202A #2A1E26 #2A281E #1E2A22
square
#1E202A #2A1E26 #2A281E #1E2A22
split-complementary
#1E202A #2A221E #262A1E
monochromatic
#0D0E12 #0D0E12 #1E202A #383B4E #515671

Accessibility & contrast

On white

16.21
#1E202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1E202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E202A
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E202A#FFFFFF#000000##FFFFFF
##1E202A1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212A
Deuteranopia (green-blind)
#1C202A
Tritanopia (blue-blind)
#1B2223
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e202a;
/* rgb */ color: rgb(30, 32, 42);
/* oklch */ color: oklch(24.6% 0.019 276.1);
Tailwind
colors: {
  custom: {
    50: '#5a5b63',
    500: '#1e202a',
    950: '#000000',
  },
}
SCSS
$custom: #1e202a;
$custom-light: #5a5b63;
$custom-dark: #000000;
JSON
{
  "hex": "#1e202a",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 230,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24599,
    "c": 0.01926,
    "h": 276.1
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#1E202A
secondary
#5B5848
accent
#AD6EB9
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#030405
muted
#787979

Preview Lab

Preview with #1E202A

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

Preview Lab → · Contrast checker → · Palette generator →

#1E202A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva