#1E203C#1E203C

#1E203C is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.7% C 0.052 H 278.9°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#1E203C
RGBrgb(30, 32, 60)
HSLhsl(236, 33%, 18%)
HSVhsv(236, 50%, 24%)
CMYKcmyk(50%, 46.7%, 0%, 76.5%)
CIE-LABlab(13.44, 8.01, -18.34)
CIE-LCHlch(13.44, 20.01, 293.58°)
OKLaboklab(25.69% 0.0081 -0.0517)
OKLCHoklch(25.69% 0.052 278.9)
XYZxyz(1.8673, 1.6352, 4.4913)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E203C #3C3A1E
analogous
#1E2F3C #1E203C #2B1E3C
triadic
#1E203C #3C1E20 #203C1E
tetradic
#1E203C #3C1E2F #3C3A1E #1E3C2B
square
#1E203C #3C1E2F #3C3A1E #1E3C2B
split-complementary
#1E203C #3C2B1E #2F3C1E
monochromatic
#0A0B14 #0A0B14 #1E203C #323665 #474C8E

Accessibility & contrast

On white

15.83
#1E203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E203C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E203C#FFFFFF#000000##FFFFFF
##1E203C1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#14213B
Tritanopia (blue-blind)
#14262B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e203c;
/* rgb */ color: rgb(30, 32, 60);
/* oklch */ color: oklch(25.7% 0.052 278.9);
Tailwind
colors: {
  custom: {
    50: '#5c5b72',
    500: '#1e203c',
    950: '#000000',
  },
}
SCSS
$custom: #1e203c;
$custom-light: #5c5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#1e203c",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 236,
    "s": 33.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25686,
    "c": 0.05236,
    "h": 278.9
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#1E203C
secondary
#706D46
accent
#C25EC9
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040408
muted
#79797B

Preview Lab

Preview with #1E203C

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

Preview Lab → · Contrast checker → · Palette generator →

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