#172E4B#172E4B

#172E4B is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.8% C 0.061 H 255.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#172E4B
RGBrgb(23, 46, 75)
HSLhsl(213, 53%, 19%)
HSVhsv(213, 69%, 29%)
CMYKcmyk(69.3%, 38.7%, 0%, 70.6%)
CIE-LABlab(18.56, 1.70, -20.65)
CIE-LCHlch(18.56, 20.72, 274.70°)
OKLaboklab(29.82% -0.0156 -0.0585)
OKLCHoklch(29.82% 0.061 255.1)
XYZxyz(2.5999, 2.6439, 7.0286)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E4B #4B3417
analogous
#17484B #172E4B #1A174B
triadic
#172E4B #4B172E #2E4B17
tetradic
#172E4B #4B1748 #4B3417 #174B1A
square
#172E4B #4B1748 #4B3417 #174B1A
split-complementary
#172E4B #4B1A17 #484B17
monochromatic
#070E17 #09111C #172E4B #254B7A #3467A9

Accessibility & contrast

On white

13.74
#172E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E4B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E4B#FFFFFF#000000##FFFFFF
##172E4B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304C
Deuteranopia (green-blind)
#1A2B4A
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172e4b;
/* rgb */ color: rgb(23, 46, 75);
/* oklch */ color: oklch(29.8% 0.061 255.1);
Tailwind
colors: {
  custom: {
    50: '#5a667d',
    500: '#172e4b',
    950: '#000000',
  },
}
SCSS
$custom: #172e4b;
$custom-light: #5a667d;
$custom-dark: #000000;
JSON
{
  "hex": "#172e4b",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 213.462,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29817,
    "c": 0.06053,
    "h": 255.1
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#172E4B
secondary
#82633C
accent
#9C4BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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