#1E223E#1E223E

#1E223E is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.3% C 0.053 H 276.0°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#1E223E
RGBrgb(30, 34, 62)
HSLhsl(233, 35%, 18%)
HSVhsv(233, 52%, 24%)
CMYKcmyk(51.6%, 45.2%, 0%, 75.7%)
CIE-LABlab(14.22, 7.25, -18.52)
CIE-LCHlch(14.22, 19.89, 291.38°)
OKLaboklab(26.32% 0.0055 -0.0522)
OKLCHoklch(26.32% 0.053 276)
XYZxyz(1.9767, 1.7678, 4.7936)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E223E #3E3A1E
analogous
#1E323E #1E223E #2A1E3E
triadic
#1E223E #3E1E22 #223E1E
tetradic
#1E223E #3E1E32 #3E3A1E #1E3E2A
square
#1E223E #3E1E32 #3E3A1E #1E3E2A
split-complementary
#1E223E #3E2A1E #323E1E
monochromatic
#0A0B15 #0A0B15 #1E223E #323967 #464F90

Accessibility & contrast

On white

15.51
#1E223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E223E
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E223E#FFFFFF#000000##FFFFFF
##1E223E1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253F
Deuteranopia (green-blind)
#15233D
Tritanopia (blue-blind)
#13282D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e223e;
/* rgb */ color: rgb(30, 34, 62);
/* oklch */ color: oklch(26.3% 0.053 276.0);
Tailwind
colors: {
  custom: {
    50: '#5c5c73',
    500: '#1e223e',
    950: '#000000',
  },
}
SCSS
$custom: #1e223e;
$custom-light: #5c5c73;
$custom-dark: #000000;
JSON
{
  "hex": "#1e223e",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 232.5,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26321,
    "c": 0.05254,
    "h": 276
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#1E223E
secondary
#726D46
accent
#BD5DCB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1E223E

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

Preview Lab → · Contrast checker → · Palette generator →

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