#1E17A0#1E17A0

#1E17A0 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.6% C 0.203 H 270.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1E17A0
RGBrgb(30, 23, 160)
HSLhsl(243, 75%, 36%)
HSVhsv(243, 86%, 63%)
CMYKcmyk(81.3%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.68, 49.02, -70.11)
CIE-LCHlch(21.68, 85.54, 304.96°)
OKLaboklab(34.65% 0.0026 -0.2028)
OKLCHoklch(34.65% 0.203 270.7)
XYZxyz(7.1848, 3.4261, 33.5335)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E17A0 #99A017
analogous
#1754A0 #1E17A0 #6217A0
triadic
#1E17A0 #A01E17 #17A01E
tetradic
#1E17A0 #A01754 #99A017 #17A062
square
#1E17A0 #A01754 #99A017 #17A062
split-complementary
#1E17A0 #A06217 #54A017
monochromatic
#0A0835 #140F6A #1E17A0 #281FD6 #544CE5

Accessibility & contrast

On white

12.46
#1E17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E17A0
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E17A0#FFFFFF#000000##FFFFFF
##1E17A01.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e17a0;
/* rgb */ color: rgb(30, 23, 160);
/* oklch */ color: oklch(34.6% 0.203 270.7);
Tailwind
colors: {
  custom: {
    50: '#7459be',
    500: '#1e17a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e17a0;
$custom-light: #7459be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e17a0",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 243.066,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.20286,
    "h": 270.7
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#1E17A0
secondary
#C1C74C
accent
#F136E8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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