#1E223C#1E223C

#1E223C is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.2% C 0.049 H 275.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#1E223C
RGBrgb(30, 34, 60)
HSLhsl(232, 33%, 18%)
HSVhsv(232, 50%, 24%)
CMYKcmyk(50%, 43.3%, 0%, 76.5%)
CIE-LABlab(14.09, 6.52, -17.31)
CIE-LCHlch(14.09, 18.50, 290.64°)
OKLaboklab(26.19% 0.005 -0.0487)
OKLCHoklch(26.19% 0.049 275.8)
XYZxyz(1.9228, 1.7462, 4.5098)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E223C #3C381E
analogous
#1E313C #1E223C #291E3C
triadic
#1E223C #3C1E22 #223C1E
tetradic
#1E223C #3C1E31 #3C381E #1E3C29
square
#1E223C #3C1E31 #3C381E #1E3C29
split-complementary
#1E223C #3C291E #313C1E
monochromatic
#0A0C14 #0A0C14 #1E223C #323965 #47508E

Accessibility & contrast

On white

15.56
#1E223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E223C
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E223C#FFFFFF#000000##FFFFFF
##1E223C1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253D
Deuteranopia (green-blind)
#16233B
Tritanopia (blue-blind)
#14272C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e223c;
/* rgb */ color: rgb(30, 34, 60);
/* oklch */ color: oklch(26.2% 0.049 275.8);
Tailwind
colors: {
  custom: {
    50: '#5b5c72',
    500: '#1e223c',
    950: '#000000',
  },
}
SCSS
$custom: #1e223c;
$custom-light: #5b5c72;
$custom-dark: #000000;
JSON
{
  "hex": "#1e223c",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 232,
    "s": 33.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.04897,
    "h": 275.8
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#1E223C
secondary
#706A46
accent
#BB5EC9
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040408
muted
#79797B

Preview Lab

Preview with #1E223C

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

Preview Lab → · Contrast checker → · Palette generator →

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