#1E2228#1E2228

#1E2228 is a dark, near-neutral blue. Relative luminance 0.016; OKLCH L 25.0% C 0.013 H 258.4°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1E2228
RGBrgb(30, 34, 40)
HSLhsl(216, 14%, 14%)
HSVhsv(216, 25%, 16%)
CMYKcmyk(25%, 15%, 0%, 84.3%)
CIE-LABlab(13.07, -0.14, -4.62)
CIE-LCHlch(13.07, 4.63, 268.31°)
OKLaboklab(25.05% -0.0026 -0.0126)
OKLCHoklch(25.05% 0.013 258.4)
XYZxyz(1.4904, 1.5732, 2.2322)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2228 #28241E
analogous
#1E2728 #1E2228 #1F1E28
triadic
#1E2228 #281E22 #22281E
tetradic
#1E2228 #281E27 #28241E #1E281F
square
#1E2228 #281E27 #28241E #1E281F
split-complementary
#1E2228 #281F1E #27281E
monochromatic
#0D0F11 #0D0F11 #1E2228 #38404B #525D6E

Accessibility & contrast

On white

15.97
#1E2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2228
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2228#FFFFFF#000000##FFFFFF
##1E22281.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#1F2128
Tritanopia (blue-blind)
#1B2324
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e2228;
/* rgb */ color: rgb(30, 34, 40);
/* oklch */ color: oklch(25.0% 0.013 258.4);
Tailwind
colors: {
  custom: {
    50: '#595c61',
    500: '#1e2228',
    950: '#000000',
  },
}
SCSS
$custom: #1e2228;
$custom-light: #595c61;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2228",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 216,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25048,
    "c": 0.01282,
    "h": 258.4
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#1E2228
secondary
#595349
accent
#9B71B7
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#030405
muted
#787979

Preview Lab

Preview with #1E2228

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

Preview Lab → · Contrast checker → · Palette generator →

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