#172C4B#172C4B

#172C4B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.063 H 258.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#172C4B
RGBrgb(23, 44, 75)
HSLhsl(216, 53%, 19%)
HSVhsv(216, 69%, 29%)
CMYKcmyk(69.3%, 41.3%, 0%, 70.6%)
CIE-LABlab(17.88, 3.13, -21.72)
CIE-LCHlch(17.88, 21.94, 278.21°)
OKLaboklab(29.29% -0.0131 -0.0616)
OKLCHoklch(29.29% 0.063 258)
XYZxyz(2.5236, 2.4913, 7.0031)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C4B #4B3617
analogous
#17464B #172C4B #1C174B
triadic
#172C4B #4B172C #2C4B17
tetradic
#172C4B #4B1746 #4B3617 #174B1C
square
#172C4B #4B1746 #4B3617 #174B1C
split-complementary
#172C4B #4B1C17 #464B17
monochromatic
#070E17 #09111C #172C4B #25477A #3463A9

Accessibility & contrast

On white

14.01
#172C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C4B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C4B#FFFFFF#000000##FFFFFF
##172C4B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E4C
Deuteranopia (green-blind)
#172A4A
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172c4b;
/* rgb */ color: rgb(23, 44, 75);
/* oklch */ color: oklch(29.3% 0.063 258.0);
Tailwind
colors: {
  custom: {
    50: '#5a647d',
    500: '#172c4b',
    950: '#000000',
  },
}
SCSS
$custom: #172c4b;
$custom-light: #5a647d;
$custom-dark: #000000;
JSON
{
  "hex": "#172c4b",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 215.769,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29288,
    "c": 0.06302,
    "h": 258
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#172C4B
secondary
#82663C
accent
#A24BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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