#1E189E#1E189E

#1E189E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.200 H 270.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1E189E
RGBrgb(30, 24, 158)
HSLhsl(243, 74%, 36%)
HSVhsv(243, 85%, 62%)
CMYKcmyk(81%, 84.8%, 0%, 38%)
CIE-LABlab(21.57, 47.96, -69.06)
CIE-LCHlch(21.57, 84.08, 304.78°)
OKLaboklab(34.51% 0.0029 -0.1998)
OKLCHoklch(34.51% 0.2 270.8)
XYZxyz(7.0315, 3.3971, 32.6262)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E189E #989E18
analogous
#18559E #1E189E #61189E
triadic
#1E189E #9E1E18 #189E1E
tetradic
#1E189E #9E1855 #989E18 #189E61
square
#1E189E #9E1855 #989E18 #189E61
split-complementary
#1E189E #9E6118 #559E18
monochromatic
#0A0834 #141069 #1E189E #2820D3 #534DE4

Accessibility & contrast

On white

12.50
#1E189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E189E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E189E#FFFFFF#000000##FFFFFF
##1E189E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e189e;
/* rgb */ color: rgb(30, 24, 158);
/* oklch */ color: oklch(34.5% 0.200 270.8);
Tailwind
colors: {
  custom: {
    50: '#745abc',
    500: '#1e189e',
    950: '#000000',
  },
}
SCSS
$custom: #1e189e;
$custom-light: #745abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e189e",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 242.687,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34505,
    "c": 0.19986,
    "h": 270.8
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E189E

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

Preview Lab → · Contrast checker → · Palette generator →

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