#172E48#172E48

#172E48 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.056 H 252.8°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#172E48
RGBrgb(23, 46, 72)
HSLhsl(212, 52%, 19%)
HSVhsv(212, 68%, 28%)
CMYKcmyk(68.1%, 36.1%, 0%, 71.8%)
CIE-LABlab(18.38, 0.49, -18.89)
CIE-LCHlch(18.38, 18.89, 271.49°)
OKLaboklab(29.62% -0.0165 -0.0534)
OKLCHoklch(29.62% 0.056 252.8)
XYZxyz(2.4996, 2.6038, 6.5005)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E48 #483117
analogous
#174648 #172E48 #181748
triadic
#172E48 #48172E #2E4817
tetradic
#172E48 #481746 #483117 #174818
square
#172E48 #481746 #483117 #174818
split-complementary
#172E48 #481817 #464817
monochromatic
#070F17 #08101A #172E48 #264C76 #3569A5

Accessibility & contrast

On white

13.81
#172E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E48
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E48#FFFFFF#000000##FFFFFF
##172E481.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F49
Deuteranopia (green-blind)
#1C2B47
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172e48;
/* rgb */ color: rgb(23, 46, 72);
/* oklch */ color: oklch(29.6% 0.056 252.8);
Tailwind
colors: {
  custom: {
    50: '#59667b',
    500: '#172e48',
    950: '#000000',
  },
}
SCSS
$custom: #172e48;
$custom-light: #59667b;
$custom-dark: #000000;
JSON
{
  "hex": "#172e48",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 211.837,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29622,
    "c": 0.05587,
    "h": 252.8
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#172E48
secondary
#7F5F3C
accent
#984DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172E48

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

Preview Lab → · Contrast checker → · Palette generator →

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