#1E1E2C#1E1E2C

#1E1E2C is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.2% C 0.027 H 284.2°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#1E1E2C
RGBrgb(30, 30, 44)
HSLhsl(240, 19%, 15%)
HSVhsv(240, 32%, 17%)
CMYKcmyk(31.8%, 31.8%, 0%, 82.7%)
CIE-LABlab(11.87, 4.01, -9.35)
CIE-LCHlch(11.87, 10.17, 293.22°)
OKLaboklab(24.17% 0.0065 -0.0258)
OKLCHoklch(24.17% 0.027 284.2)
XYZxyz(1.4542, 1.3864, 2.5734)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E2C #2C2C1E
analogous
#1E252C #1E1E2C #251E2C
triadic
#1E1E2C #2C1E1E #1E2C1E
tetradic
#1E1E2C #2C1E25 #2C2C1E #1E2C25
square
#1E1E2C #2C1E25 #2C2C1E #1E2C25
split-complementary
#1E1E2C #2C251E #252C1E
monochromatic
#0C0C12 #0C0C12 #1E1E2C #373750 #505075

Accessibility & contrast

On white

16.44
#1E1E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1E1E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E2C
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E2C#FFFFFF#000000##FFFFFF
##1E1E2C1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202D
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#1B2023
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e1e2c;
/* rgb */ color: rgb(30, 30, 44);
/* oklch */ color: oklch(24.2% 0.027 284.2);
Tailwind
colors: {
  custom: {
    50: '#5a5965',
    500: '#1e1e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e2c;
$custom-light: #5a5965;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e2c",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 240,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24173,
    "c": 0.0266,
    "h": 284.2
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#1E1E2C
secondary
#5E5E48
accent
#BC6CBC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030305
muted
#78787A

Preview Lab

Preview with #1E1E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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