#1E203A#1E203A

#1E203A is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.049 H 279.0°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#1E203A
RGBrgb(30, 32, 58)
HSLhsl(236, 32%, 17%)
HSVhsv(236, 48%, 23%)
CMYKcmyk(48.3%, 44.8%, 0%, 77.3%)
CIE-LABlab(13.32, 7.28, -17.12)
CIE-LCHlch(13.32, 18.61, 293.04°)
OKLaboklab(25.55% 0.0076 -0.0482)
OKLCHoklch(25.55% 0.049 279)
XYZxyz(1.8154, 1.6145, 4.2181)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E203A #3A381E
analogous
#1E2E3A #1E203A #2A1E3A
triadic
#1E203A #3A1E20 #203A1E
tetradic
#1E203A #3A1E2E #3A381E #1E3A2A
square
#1E203A #3A1E2E #3A381E #1E3A2A
split-complementary
#1E203A #3A2A1E #2E3A1E
monochromatic
#0A0B14 #0A0B14 #1E203A #333662 #484D8B

Accessibility & contrast

On white

15.87
#1E203A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E203A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E203A
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E203A#FFFFFF#000000##FFFFFF
##1E203A1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#15252A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e203a;
/* rgb */ color: rgb(30, 32, 58);
/* oklch */ color: oklch(25.6% 0.049 279.0);
Tailwind
colors: {
  custom: {
    50: '#5b5b70',
    500: '#1e203a',
    950: '#000000',
  },
}
SCSS
$custom: #1e203a;
$custom-light: #5b5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#1e203a",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 58
  },
  "hsl": {
    "h": 235.714,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2555,
    "c": 0.04879,
    "h": 279
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#1E203A
secondary
#6E6B46
accent
#C160C8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #1E203A

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

Preview Lab → · Contrast checker → · Palette generator →

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