#172E49#172E49

#172E49 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.057 H 253.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#172E49
RGBrgb(23, 46, 73)
HSLhsl(212, 52%, 19%)
HSVhsv(212, 68%, 29%)
CMYKcmyk(68.5%, 37%, 0%, 71.4%)
CIE-LABlab(18.44, 0.89, -19.48)
CIE-LCHlch(18.44, 19.50, 272.62°)
OKLaboklab(29.69% -0.0162 -0.0551)
OKLCHoklch(29.69% 0.057 253.6)
XYZxyz(2.5325, 2.6170, 6.6737)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E49 #493217
analogous
#174749 #172E49 #191749
triadic
#172E49 #49172E #2E4917
tetradic
#172E49 #491747 #493217 #174919
square
#172E49 #491747 #493217 #174919
split-complementary
#172E49 #491917 #474917
monochromatic
#070F17 #08111A #172E49 #264B78 #3469A6

Accessibility & contrast

On white

13.78
#172E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E49
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E49#FFFFFF#000000##FFFFFF
##172E491.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304A
Deuteranopia (green-blind)
#1C2B48
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172e49;
/* rgb */ color: rgb(23, 46, 73);
/* oklch */ color: oklch(29.7% 0.057 253.6);
Tailwind
colors: {
  custom: {
    50: '#5a667c',
    500: '#172e49',
    950: '#000000',
  },
}
SCSS
$custom: #172e49;
$custom-light: #5a667c;
$custom-dark: #000000;
JSON
{
  "hex": "#172e49",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 73
  },
  "hsl": {
    "h": 212.4,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.05742,
    "h": 253.6
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#172E49
secondary
#80613C
accent
#9A4CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172E49

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

Preview Lab → · Contrast checker → · Palette generator →

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