#1E17A1#1E17A1

#1E17A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.204 H 270.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1E17A1
RGBrgb(30, 23, 161)
HSLhsl(243, 75%, 36%)
HSVhsv(243, 86%, 63%)
CMYKcmyk(81.4%, 85.7%, 0%, 36.9%)
CIE-LABlab(21.80, 49.32, -70.50)
CIE-LCHlch(21.80, 86.04, 304.98°)
OKLaboklab(34.78% 0.0024 -0.204)
OKLCHoklch(34.78% 0.204 270.7)
XYZxyz(7.2727, 3.4612, 33.9961)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E17A1 #9AA117
analogous
#1755A1 #1E17A1 #6317A1
triadic
#1E17A1 #A11E17 #17A11E
tetradic
#1E17A1 #A11755 #9AA117 #17A163
square
#1E17A1 #A11755 #9AA117 #17A163
split-complementary
#1E17A1 #A16317 #55A117
monochromatic
#0A0836 #140F6B #1E17A1 #281FD7 #554DE6

Accessibility & contrast

On white

12.41
#1E17A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E17A1
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E17A1#FFFFFF#000000##FFFFFF
##1E17A11.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e17a1;
/* rgb */ color: rgb(30, 23, 161);
/* oklch */ color: oklch(34.8% 0.204 270.7);
Tailwind
colors: {
  custom: {
    50: '#755abe',
    500: '#1e17a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e17a1;
$custom-light: #755abe;
$custom-dark: #000000;
JSON
{
  "hex": "#1e17a1",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 243.043,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.204,
    "h": 270.7
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E17A1

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

Preview Lab → · Contrast checker → · Palette generator →

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