#1E17B3#1E17B3

#1E17B3 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 37.0% C 0.224 H 269.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1E17B3
RGBrgb(30, 23, 179)
HSLhsl(243, 77%, 40%)
HSVhsv(243, 87%, 70%)
CMYKcmyk(83.2%, 87.2%, 0%, 29.8%)
CIE-LABlab(24.14, 54.69, -77.49)
CIE-LCHlch(24.14, 94.85, 305.21°)
OKLaboklab(37.03% -0.0019 -0.2242)
OKLCHoklch(37.03% 0.224 269.5)
XYZxyz(8.9757, 4.1424, 42.9656)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E17B3 #ACB317
analogous
#175EB3 #1E17B3 #6C17B3
triadic
#1E17B3 #B31E17 #17B31E
tetradic
#1E17B3 #B3175E #ACB317 #17B36C
square
#1E17B3 #B3175E #ACB317 #17B36C
split-complementary
#1E17B3 #B36C17 #5EB317
monochromatic
#0C0947 #15107D #1E17B3 #2D24E3 #615BEA

Accessibility & contrast

On white

11.48
#1E17B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E17B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E17B3
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E17B3#FFFFFF#000000##FFFFFF
##1E17B31.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0031B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e17b3;
/* rgb */ color: rgb(30, 23, 179);
/* oklch */ color: oklch(37.0% 0.224 269.5);
Tailwind
colors: {
  custom: {
    50: '#795bcb',
    500: '#1e17b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e17b3;
$custom-light: #795bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e17b3",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 242.692,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.2242,
    "h": 269.5
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#1E17B3
secondary
#C8CD58
accent
#F434EB
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1E17B3

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

Preview Lab → · Contrast checker → · Palette generator →

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