#1E2188#1E2188

#1E2188 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.165 H 271.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#1E2188
RGBrgb(30, 33, 136)
HSLhsl(238, 64%, 33%)
HSVhsv(238, 78%, 53%)
CMYKcmyk(77.9%, 75.7%, 0%, 46.7%)
CIE-LABlab(20.60, 35.90, -57.04)
CIE-LCHlch(20.60, 67.40, 302.18°)
OKLaboklab(33.07% 0.0048 -0.1651)
OKLCHoklch(33.07% 0.165 271.7)
XYZxyz(5.5217, 3.1407, 23.6030)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2188 #88851E
analogous
#1E5688 #1E2188 #501E88
triadic
#1E2188 #881E21 #21881E
tetradic
#1E2188 #881E56 #88851E #1E8850
square
#1E2188 #881E56 #88851E #1E8850
split-complementary
#1E2188 #88501E #56881E
monochromatic
#080924 #131556 #1E2188 #292DBA #494DD7

Accessibility & contrast

On white

12.90
#1E2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2188
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2188#FFFFFF#000000##FFFFFF
##1E21881.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2188;
/* rgb */ color: rgb(30, 33, 136);
/* oklch */ color: oklch(33.1% 0.165 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d5dac',
    500: '#1e2188',
    950: '#000000',
  },
}
SCSS
$custom: #1e2188;
$custom-light: #6d5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2188",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 238.302,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33065,
    "c": 0.1652,
    "h": 271.7
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#1E2188
secondary
#B9B649
accent
#E241E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2188

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

Preview Lab → · Contrast checker → · Palette generator →

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