#171E60#171E60

#171E60 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.116 H 271.7°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#171E60
RGBrgb(23, 30, 96)
HSLhsl(234, 61%, 23%)
HSVhsv(234, 76%, 38%)
CMYKcmyk(76%, 68.7%, 0%, 62.4%)
CIE-LABlab(15.25, 22.05, -40.07)
CIE-LCHlch(15.25, 45.74, 298.82°)
OKLaboklab(27.83% 0.0035 -0.1158)
OKLCHoklch(27.83% 0.116 271.7)
XYZxyz(2.9282, 1.9549, 11.2871)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E60 #605917
analogous
#174260 #171E60 #341760
triadic
#171E60 #60171E #1E6017
tetradic
#171E60 #601742 #605917 #176034
square
#171E60 #601742 #605917 #176034
split-complementary
#171E60 #603417 #426017
monochromatic
#060819 #0B0F2F #171E60 #232D91 #2F3DC3

Accessibility & contrast

On white

15.10
#171E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E60
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E60#FFFFFF#000000##FFFFFF
##171E601.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171e60;
/* rgb */ color: rgb(23, 30, 96);
/* oklch */ color: oklch(27.8% 0.116 271.7);
Tailwind
colors: {
  custom: {
    50: '#60598e',
    500: '#171e60',
    950: '#000000',
  },
}
SCSS
$custom: #171e60;
$custom-light: #60598e;
$custom-dark: #000000;
JSON
{
  "hex": "#171e60",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 234.247,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27825,
    "c": 0.11582,
    "h": 271.7
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#171E60
secondary
#978E3C
accent
#D543E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #171E60

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

Preview Lab → · Contrast checker → · Palette generator →

#171E60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva