#1D17A0#1D17A0

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

Color values

HEX#1D17A0
RGBrgb(29, 23, 160)
HSLhsl(243, 75%, 36%)
HSVhsv(243, 86%, 63%)
CMYKcmyk(81.9%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.62, 48.97, -70.20)
CIE-LCHlch(21.62, 85.59, 304.90°)
OKLaboklab(34.6% 0.0015 -0.2031)
OKLCHoklch(34.6% 0.203 270.4)
XYZxyz(7.1561, 3.4112, 33.5322)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D17A0 #9AA017
analogous
#1755A0 #1D17A0 #6117A0
triadic
#1D17A0 #A01D17 #17A01D
tetradic
#1D17A0 #A01755 #9AA017 #17A061
square
#1D17A0 #A01755 #9AA017 #17A061
split-complementary
#1D17A0 #A06117 #55A017
monochromatic
#0A0835 #130F6A #1D17A0 #271FD6 #534CE5

Accessibility & contrast

On white

12.48
#1D17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D17A0
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D17A0#FFFFFF#000000##FFFFFF
##1D17A01.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.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: #1d17a0;
/* rgb */ color: rgb(29, 23, 160);
/* oklch */ color: oklch(34.6% 0.203 270.4);
Tailwind
colors: {
  custom: {
    50: '#7459be',
    500: '#1d17a0',
    950: '#000000',
  },
}
SCSS
$custom: #1d17a0;
$custom-light: #7459be;
$custom-dark: #000000;
JSON
{
  "hex": "#1d17a0",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 242.628,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.20313,
    "h": 270.4
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#1D17A0
secondary
#C2C74C
accent
#F136E9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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