#1E189D#1E189D

#1E189D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.199 H 270.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1E189D
RGBrgb(30, 24, 157)
HSLhsl(243, 73%, 35%)
HSVhsv(243, 85%, 62%)
CMYKcmyk(80.9%, 84.7%, 0%, 38.4%)
CIE-LABlab(21.44, 47.65, -68.66)
CIE-LCHlch(21.44, 83.58, 304.76°)
OKLaboklab(34.38% 0.0032 -0.1987)
OKLCHoklch(34.38% 0.199 270.9)
XYZxyz(6.9458, 3.3628, 32.1748)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E189D #979D18
analogous
#18549D #1E189D #61189D
triadic
#1E189D #9D1E18 #189D1E
tetradic
#1E189D #9D1854 #979D18 #189D61
square
#1E189D #9D1854 #979D18 #189D61
split-complementary
#1E189D #9D6118 #549D18
monochromatic
#0A0833 #141068 #1E189D #2820D2 #534CE4

Accessibility & contrast

On white

12.55
#1E189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E189D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E189D#FFFFFF#000000##FFFFFF
##1E189D1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002D9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e189d;
/* rgb */ color: rgb(30, 24, 157);
/* oklch */ color: oklch(34.4% 0.199 270.9);
Tailwind
colors: {
  custom: {
    50: '#745abb',
    500: '#1e189d',
    950: '#000000',
  },
}
SCSS
$custom: #1e189d;
$custom-light: #745abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e189d",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 242.707,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.19871,
    "h": 270.9
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#1E189D
secondary
#C0C54B
accent
#F038E8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E189D

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

Preview Lab → · Contrast checker → · Palette generator →

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