#1E202C#1E202C

#1E202C is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.7% C 0.023 H 277.2°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#1E202C
RGBrgb(30, 32, 44)
HSLhsl(231, 19%, 15%)
HSVhsv(231, 32%, 17%)
CMYKcmyk(31.8%, 27.3%, 0%, 82.7%)
CIE-LABlab(12.55, 2.53, -8.30)
CIE-LCHlch(12.55, 8.68, 286.98°)
OKLaboklab(24.7% 0.0029 -0.0228)
OKLCHoklch(24.7% 0.023 277.2)
XYZxyz(1.5064, 1.4909, 2.5908)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E202C #2C2A1E
analogous
#1E272C #1E202C #231E2C
triadic
#1E202C #2C1E20 #202C1E
tetradic
#1E202C #2C1E27 #2C2A1E #1E2C23
square
#1E202C #2C1E27 #2C2A1E #1E2C23
split-complementary
#1E202C #2C231E #272C1E
monochromatic
#0C0D12 #0C0D12 #1E202C #373A50 #505575

Accessibility & contrast

On white

16.18
#1E202C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E202C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E202C#FFFFFF#000000##FFFFFF
##1E202C1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212D
Deuteranopia (green-blind)
#1C202C
Tritanopia (blue-blind)
#1B2224
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e202c;
/* rgb */ color: rgb(30, 32, 44);
/* oklch */ color: oklch(24.7% 0.023 277.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b65',
    500: '#1e202c',
    950: '#000000',
  },
}
SCSS
$custom: #1e202c;
$custom-light: #5a5b65;
$custom-dark: #000000;
JSON
{
  "hex": "#1e202c",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 44
  },
  "hsl": {
    "h": 231.429,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24704,
    "c": 0.023,
    "h": 277.2
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#1E202C
secondary
#5E5B48
accent
#B06CBC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030405
muted
#78797A

Preview Lab

Preview with #1E202C

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

Preview Lab → · Contrast checker → · Palette generator →

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