#172E4A#172E4A

#172E4A is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.8% C 0.059 H 254.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#172E4A
RGBrgb(23, 46, 74)
HSLhsl(213, 53%, 19%)
HSVhsv(213, 69%, 29%)
CMYKcmyk(68.9%, 37.8%, 0%, 71%)
CIE-LABlab(18.50, 1.29, -20.06)
CIE-LCHlch(18.50, 20.11, 273.69°)
OKLaboklab(29.75% -0.0159 -0.0568)
OKLCHoklch(29.75% 0.059 254.4)
XYZxyz(2.5659, 2.6303, 6.8497)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E4A #4A3317
analogous
#17484A #172E4A #1A174A
triadic
#172E4A #4A172E #2E4A17
tetradic
#172E4A #4A1748 #4A3317 #174A1A
square
#172E4A #4A1748 #4A3317 #174A1A
split-complementary
#172E4A #4A1A17 #484A17
monochromatic
#070F17 #08111B #172E4A #264B79 #3468A7

Accessibility & contrast

On white

13.76
#172E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E4A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E4A#FFFFFF#000000##FFFFFF
##172E4A1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304B
Deuteranopia (green-blind)
#1B2B49
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172e4a;
/* rgb */ color: rgb(23, 46, 74);
/* oklch */ color: oklch(29.8% 0.059 254.4);
Tailwind
colors: {
  custom: {
    50: '#5a667c',
    500: '#172e4a',
    950: '#000000',
  },
}
SCSS
$custom: #172e4a;
$custom-light: #5a667c;
$custom-dark: #000000;
JSON
{
  "hex": "#172e4a",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 212.941,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29751,
    "c": 0.05897,
    "h": 254.4
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#172E4A
secondary
#81623C
accent
#9B4CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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