#172E60#172E60

#172E60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.094 H 263.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#172E60
RGBrgb(23, 46, 96)
HSLhsl(221, 61%, 23%)
HSVhsv(221, 76%, 38%)
CMYKcmyk(76%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.96, 10.38, -32.42)
CIE-LCHlch(19.96, 34.04, 287.76°)
OKLaboklab(31.36% -0.0108 -0.093)
OKLCHoklch(31.36% 0.094 263.4)
XYZxyz(3.4409, 2.9803, 11.4580)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E60 #604917
analogous
#175260 #172E60 #241760
triadic
#172E60 #60172E #2E6017
tetradic
#172E60 #601752 #604917 #176024
square
#172E60 #601752 #604917 #176024
split-complementary
#172E60 #602417 #526017
monochromatic
#060C19 #0B162F #172E60 #234691 #2F5DC3

Accessibility & contrast

On white

13.16
#172E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#172E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E60
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E60#FFFFFF#000000##FFFFFF
##172E601.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172e60;
/* rgb */ color: rgb(23, 46, 96);
/* oklch */ color: oklch(31.4% 0.094 263.4);
Tailwind
colors: {
  custom: {
    50: '#5f668d',
    500: '#172e60',
    950: '#000000',
  },
}
SCSS
$custom: #172e60;
$custom-light: #5f668d;
$custom-dark: #000000;
JSON
{
  "hex": "#172e60",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 221.096,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.09364,
    "h": 263.4
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#172E60
secondary
#977A3C
accent
#B243E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #172E60

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

Preview Lab → · Contrast checker → · Palette generator →

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