#1E223A#1E223A

#1E223A is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.1% C 0.045 H 275.6°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#1E223A
RGBrgb(30, 34, 58)
HSLhsl(231, 32%, 17%)
HSVhsv(231, 48%, 23%)
CMYKcmyk(48.3%, 41.4%, 0%, 77.3%)
CIE-LABlab(13.98, 5.80, -16.09)
CIE-LCHlch(13.98, 17.10, 289.82°)
OKLaboklab(26.06% 0.0044 -0.0452)
OKLCHoklch(26.06% 0.045 275.6)
XYZxyz(1.8709, 1.7255, 4.2366)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E223A #3A361E
analogous
#1E303A #1E223A #281E3A
triadic
#1E223A #3A1E22 #223A1E
tetradic
#1E223A #3A1E30 #3A361E #1E3A28
square
#1E223A #3A1E30 #3A361E #1E3A28
split-complementary
#1E223A #3A281E #303A1E
monochromatic
#0A0C14 #0A0C14 #1E223A #333A62 #48518B

Accessibility & contrast

On white

15.61
#1E223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1E223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E223A
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E223A#FFFFFF#000000##FFFFFF
##1E223A1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253B
Deuteranopia (green-blind)
#182339
Tritanopia (blue-blind)
#15272B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e223a;
/* rgb */ color: rgb(30, 34, 58);
/* oklch */ color: oklch(26.1% 0.045 275.6);
Tailwind
colors: {
  custom: {
    50: '#5b5c70',
    500: '#1e223a',
    950: '#000000',
  },
}
SCSS
$custom: #1e223a;
$custom-light: #5b5c70;
$custom-dark: #000000;
JSON
{
  "hex": "#1e223a",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 231.429,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26055,
    "c": 0.0454,
    "h": 275.6
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#1E223A
secondary
#6E6846
accent
#B960C8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #1E223A

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

Preview Lab → · Contrast checker → · Palette generator →

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