#1E222A#1E222A

#1E222A is a dark, near-neutral blue. Relative luminance 0.016; OKLCH L 25.1% C 0.016 H 264.2°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#1E222A
RGBrgb(30, 34, 42)
HSLhsl(220, 17%, 14%)
HSVhsv(220, 29%, 16%)
CMYKcmyk(28.6%, 19%, 0%, 83.5%)
CIE-LABlab(13.15, 0.46, -5.94)
CIE-LCHlch(13.15, 5.96, 274.45°)
OKLaboklab(25.14% -0.0016 -0.0162)
OKLCHoklch(25.14% 0.016 264.2)
XYZxyz(1.5253, 1.5872, 2.4160)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E222A #2A261E
analogous
#1E282A #1E222A #201E2A
triadic
#1E222A #2A1E22 #222A1E
tetradic
#1E222A #2A1E28 #2A261E #1E2A20
square
#1E222A #2A1E28 #2A261E #1E2A20
split-complementary
#1E222A #2A201E #282A1E
monochromatic
#0D0E12 #0D0E12 #1E222A #383F4E #515C71

Accessibility & contrast

On white

15.94
#1E222A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E222A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E222A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E222A#FFFFFF#000000##FFFFFF
##1E222A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20222A
Deuteranopia (green-blind)
#1E212A
Tritanopia (blue-blind)
#1B2425
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e222a;
/* rgb */ color: rgb(30, 34, 42);
/* oklch */ color: oklch(25.1% 0.016 264.2);
Tailwind
colors: {
  custom: {
    50: '#5a5c63',
    500: '#1e222a',
    950: '#000000',
  },
}
SCSS
$custom: #1e222a;
$custom-light: #5a5c63;
$custom-dark: #000000;
JSON
{
  "hex": "#1e222a",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 220,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25144,
    "c": 0.01629,
    "h": 264.2
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#1E222A
secondary
#5B5548
accent
#A06EB9
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#030405
muted
#787979

Preview Lab

Preview with #1E222A

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

Preview Lab → · Contrast checker → · Palette generator →

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