#1E2388#1E2388

#1E2388 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.163 H 271.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1E2388
RGBrgb(30, 35, 136)
HSLhsl(237, 64%, 33%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(77.9%, 74.3%, 0%, 46.7%)
CIE-LABlab(21.04, 34.67, -56.32)
CIE-LCHlch(21.04, 66.13, 301.62°)
OKLaboklab(33.38% 0.0038 -0.163)
OKLCHoklch(33.38% 0.163 271.3)
XYZxyz(5.5789, 3.2551, 23.6220)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2388 #88831E
analogous
#1E5888 #1E2388 #4E1E88
triadic
#1E2388 #881E23 #23881E
tetradic
#1E2388 #881E58 #88831E #1E884E
square
#1E2388 #881E58 #88831E #1E884E
split-complementary
#1E2388 #884E1E #58881E
monochromatic
#080924 #131656 #1E2388 #2930BA #4950D7

Accessibility & contrast

On white

12.72
#1E2388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2388
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2388#FFFFFF#000000##FFFFFF
##1E23881.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2388;
/* rgb */ color: rgb(30, 35, 136);
/* oklch */ color: oklch(33.4% 0.163 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d5fac',
    500: '#1e2388',
    950: '#000000',
  },
}
SCSS
$custom: #1e2388;
$custom-light: #6d5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2388",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 237.17,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.16307,
    "h": 271.3
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#1E2388
secondary
#B9B449
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2388

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

Preview Lab → · Contrast checker → · Palette generator →

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