#172B60#172B60

#172B60 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.098 H 265.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#172B60
RGBrgb(23, 43, 96)
HSLhsl(224, 61%, 23%)
HSVhsv(224, 76%, 38%)
CMYKcmyk(76%, 55.2%, 0%, 62.4%)
CIE-LABlab(19.03, 12.58, -33.92)
CIE-LCHlch(19.03, 36.18, 290.34°)
OKLaboklab(30.65% -0.0078 -0.0975)
OKLCHoklch(30.65% 0.098 265.4)
XYZxyz(3.3278, 2.7541, 11.4203)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B60 #604C17
analogous
#174F60 #172B60 #271760
triadic
#172B60 #60172B #2B6017
tetradic
#172B60 #60174F #604C17 #176027
square
#172B60 #60174F #604C17 #176027
split-complementary
#172B60 #602717 #4F6017
monochromatic
#060B19 #0B152F #172B60 #234191 #2F57C3

Accessibility & contrast

On white

13.54
#172B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B60
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B60#FFFFFF#000000##FFFFFF
##172B601.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093262
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172b60;
/* rgb */ color: rgb(23, 43, 96);
/* oklch */ color: oklch(30.6% 0.098 265.4);
Tailwind
colors: {
  custom: {
    50: '#5f638e',
    500: '#172b60',
    950: '#000000',
  },
}
SCSS
$custom: #172b60;
$custom-light: #5f638e;
$custom-dark: #000000;
JSON
{
  "hex": "#172b60",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 223.562,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30648,
    "c": 0.09782,
    "h": 265.4
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#172B60
secondary
#977E3C
accent
#B843E4
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #172B60

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

Preview Lab → · Contrast checker → · Palette generator →

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