#1E2189#1E2189

#1E2189 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.166 H 271.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2189
RGBrgb(30, 33, 137)
HSLhsl(238, 64%, 33%)
HSVhsv(238, 78%, 54%)
CMYKcmyk(78.1%, 75.9%, 0%, 46.3%)
CIE-LABlab(20.71, 36.25, -57.49)
CIE-LCHlch(20.71, 67.96, 302.23°)
OKLaboklab(33.18% 0.0046 -0.1664)
OKLCHoklch(33.18% 0.166 271.6)
XYZxyz(5.5931, 3.1693, 23.9790)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2189 #89861E
analogous
#1E5689 #1E2189 #511E89
triadic
#1E2189 #891E21 #21891E
tetradic
#1E2189 #891E56 #89861E #1E8951
square
#1E2189 #891E56 #89861E #1E8951
split-complementary
#1E2189 #89511E #56891E
monochromatic
#080925 #131557 #1E2189 #292DBB #4A4ED7

Accessibility & contrast

On white

12.85
#1E2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2189
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2189#FFFFFF#000000##FFFFFF
##1E21891.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2189;
/* rgb */ color: rgb(30, 33, 137);
/* oklch */ color: oklch(33.2% 0.166 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d5dad',
    500: '#1e2189',
    950: '#000000',
  },
}
SCSS
$custom: #1e2189;
$custom-light: #6d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2189",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 238.318,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33177,
    "c": 0.16648,
    "h": 271.6
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2189

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

Preview Lab → · Contrast checker → · Palette generator →

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