#171475#171475

#171475 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.156 H 272.0°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#171475
RGBrgb(23, 20, 117)
HSLhsl(242, 71%, 27%)
HSVhsv(242, 83%, 46%)
CMYKcmyk(80.3%, 82.9%, 0%, 54.1%)
CIE-LABlab(15.31, 36.21, -53.72)
CIE-LCHlch(15.31, 64.79, 303.98°)
OKLaboklab(28.57% 0.0054 -0.1555)
OKLCHoklch(28.57% 0.156 272)
XYZxyz(3.8133, 1.9664, 17.0048)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171475 #727514
analogous
#144275 #171475 #481475
triadic
#171475 #751714 #147517
tetradic
#171475 #751442 #727514 #147548
square
#171475 #751442 #727514 #147548
split-complementary
#171475 #754814 #427514
monochromatic
#05041A #0D0B41 #171475 #211DA9 #2E29DA

Accessibility & contrast

On white

15.07
#171475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171475
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171475#FFFFFF#000000##FFFFFF
##1714751.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171475;
/* rgb */ color: rgb(23, 20, 117);
/* oklch */ color: oklch(28.6% 0.156 272.0);
Tailwind
colors: {
  custom: {
    50: '#67549e',
    500: '#171475',
    950: '#000000',
  },
}
SCSS
$custom: #171475;
$custom-light: #67549e;
$custom-dark: #000000;
JSON
{
  "hex": "#171475",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 241.856,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28568,
    "c": 0.15558,
    "h": 272
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#171475
secondary
#A8AB3A
accent
#EE3AE8
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171475

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

Preview Lab → · Contrast checker → · Palette generator →

#171475 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva