#1E3440#1E3440

#1E3440 is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.2% C 0.035 H 233.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E3440
RGBrgb(30, 52, 64)
HSLhsl(201, 36%, 18%)
HSVhsv(201, 53%, 25%)
CMYKcmyk(53.1%, 18.8%, 0%, 74.9%)
CIE-LABlab(20.45, -4.76, -10.21)
CIE-LCHlch(20.45, 11.27, 245.02°)
OKLaboklab(31.22% -0.021 -0.0283)
OKLCHoklch(31.22% 0.035 233.4)
XYZxyz(2.6885, 3.1020, 5.3066)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3440 #402A1E
analogous
#1E403B #1E3440 #1E2340
triadic
#1E3440 #401E34 #34401E
tetradic
#1E3440 #3B1E40 #402A1E #23401E
square
#1E3440 #3B1E40 #402A1E #23401E
split-complementary
#1E3440 #401E23 #403B1E
monochromatic
#0A1115 #0A1216 #1E3440 #32566A #457893

Accessibility & contrast

On white

12.96
#1E3440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E3440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3440
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3440#FFFFFF#000000##FFFFFF
##1E34401.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#293040
Tritanopia (blue-blind)
#0E3738
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e3440;
/* rgb */ color: rgb(30, 52, 64);
/* oklch */ color: oklch(31.2% 0.035 233.4);
Tailwind
colors: {
  custom: {
    50: '#5c6b74',
    500: '#1e3440',
    950: '#000000',
  },
}
SCSS
$custom: #1e3440;
$custom-light: #5c6b74;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3440",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 64
  },
  "hsl": {
    "h": 201.176,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31223,
    "c": 0.03526,
    "h": 233.4
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#1E3440
secondary
#745645
accent
#835CCC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040608
muted
#797A7B

Preview Lab

Preview with #1E3440

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

Preview Lab → · Contrast checker → · Palette generator →

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