#1E2139#1E2139

#1E2139 is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.7% C 0.045 H 277.3°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#1E2139
RGBrgb(30, 33, 57)
HSLhsl(233, 31%, 17%)
HSVhsv(233, 47%, 22%)
CMYKcmyk(47.4%, 42.1%, 0%, 77.6%)
CIE-LABlab(13.59, 6.18, -16.00)
CIE-LCHlch(13.59, 17.15, 291.13°)
OKLaboklab(25.74% 0.0058 -0.0449)
OKLCHoklch(25.74% 0.045 277.3)
XYZxyz(1.8176, 1.6591, 4.0946)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2139 #39361E
analogous
#1E2F39 #1E2139 #291E39
triadic
#1E2139 #391E21 #21391E
tetradic
#1E2139 #391E2F #39361E #1E3929
square
#1E2139 #391E2F #39361E #1E3929
split-complementary
#1E2139 #39291E #2F391E
monochromatic
#0B0C14 #0B0C14 #1E2139 #333861 #484F89

Accessibility & contrast

On white

15.77
#1E2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2139
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2139#FFFFFF#000000##FFFFFF
##1E21391.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243A
Deuteranopia (green-blind)
#172238
Tritanopia (blue-blind)
#16262A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e2139;
/* rgb */ color: rgb(30, 33, 57);
/* oklch */ color: oklch(25.7% 0.045 277.3);
Tailwind
colors: {
  custom: {
    50: '#5b5c6f',
    500: '#1e2139',
    950: '#000000',
  },
}
SCSS
$custom: #1e2139;
$custom-light: #5b5c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2139",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 233.333,
    "s": 31.034,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25735,
    "c": 0.04528,
    "h": 277.3
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#1E2139
secondary
#6D6946
accent
#BC61C7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #1E2139

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

Preview Lab → · Contrast checker → · Palette generator →

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