#1E17B4#1E17B4

#1E17B4 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.2% C 0.225 H 269.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1E17B4
RGBrgb(30, 23, 180)
HSLhsl(243, 77%, 40%)
HSVhsv(243, 87%, 71%)
CMYKcmyk(83.3%, 87.2%, 0%, 29.4%)
CIE-LABlab(24.27, 54.98, -77.87)
CIE-LCHlch(24.27, 95.33, 305.22°)
OKLaboklab(37.16% -0.0021 -0.2253)
OKLCHoklch(37.16% 0.225 269.5)
XYZxyz(9.0772, 4.1830, 43.5002)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E17B4 #ADB417
analogous
#175FB4 #1E17B4 #6C17B4
triadic
#1E17B4 #B41E17 #17B41E
tetradic
#1E17B4 #B4175F #ADB417 #17B46C
square
#1E17B4 #B4175F #ADB417 #17B46C
split-complementary
#1E17B4 #B46C17 #5FB417
monochromatic
#0C0947 #15107E #1E17B4 #2E25E3 #625BEA

Accessibility & contrast

On white

11.43
#1E17B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E17B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E17B4
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E17B4#FFFFFF#000000##FFFFFF
##1E17B41.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B8
Deuteranopia (green-blind)
#0031B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e17b4;
/* rgb */ color: rgb(30, 23, 180);
/* oklch */ color: oklch(37.2% 0.225 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a5bcc',
    500: '#1e17b4',
    950: '#000000',
  },
}
SCSS
$custom: #1e17b4;
$custom-light: #7a5bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e17b4",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 242.675,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.2253,
    "h": 269.5
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E17B4

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

Preview Lab → · Contrast checker → · Palette generator →

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