#1C17A0#1C17A0

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

Color values

HEX#1C17A0
RGBrgb(28, 23, 160)
HSLhsl(242, 75%, 36%)
HSVhsv(242, 86%, 63%)
CMYKcmyk(82.5%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.57, 48.92, -70.29)
CIE-LCHlch(21.57, 85.64, 304.84°)
OKLaboklab(34.55% 0.0004 -0.2034)
OKLCHoklch(34.55% 0.203 270.1)
XYZxyz(7.1283, 3.3969, 33.5309)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C17A0 #9BA017
analogous
#1756A0 #1C17A0 #6017A0
triadic
#1C17A0 #A01C17 #17A01C
tetradic
#1C17A0 #A01756 #9BA017 #17A060
square
#1C17A0 #A01756 #9BA017 #17A060
split-complementary
#1C17A0 #A06017 #56A017
monochromatic
#090835 #130F6A #1C17A0 #251FD6 #524CE5

Accessibility & contrast

On white

12.50
#1C17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C17A0
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C17A0#FFFFFF#000000##FFFFFF
##1C17A01.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c17a0;
/* rgb */ color: rgb(28, 23, 160);
/* oklch */ color: oklch(34.5% 0.203 270.1);
Tailwind
colors: {
  custom: {
    50: '#7459be',
    500: '#1c17a0',
    950: '#000000',
  },
}
SCSS
$custom: #1c17a0;
$custom-light: #7459be;
$custom-dark: #000000;
JSON
{
  "hex": "#1c17a0",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 242.19,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.2034,
    "h": 270.1
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#1C17A0
secondary
#C3C74C
accent
#F136EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1C17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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