#172F49#172F49

#172F49 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.056 H 251.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#172F49
RGBrgb(23, 47, 73)
HSLhsl(211, 52%, 19%)
HSVhsv(211, 68%, 29%)
CMYKcmyk(68.5%, 35.6%, 0%, 71.4%)
CIE-LABlab(18.78, 0.19, -18.94)
CIE-LCHlch(18.78, 18.94, 270.56°)
OKLaboklab(29.96% -0.0175 -0.0535)
OKLCHoklch(29.96% 0.056 251.9)
XYZxyz(2.5720, 2.6960, 6.6869)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F49 #493117
analogous
#174849 #172F49 #181749
triadic
#172F49 #49172F #2F4917
tetradic
#172F49 #491748 #493117 #174918
square
#172F49 #491748 #493117 #174918
split-complementary
#172F49 #491817 #484917
monochromatic
#070F17 #08111A #172F49 #264D78 #346BA6

Accessibility & contrast

On white

13.64
#172F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F49
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F49#FFFFFF#000000##FFFFFF
##172F491.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24304A
Deuteranopia (green-blind)
#1D2C48
Tritanopia (blue-blind)
#003538
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172f49;
/* rgb */ color: rgb(23, 47, 73);
/* oklch */ color: oklch(30.0% 0.056 251.9);
Tailwind
colors: {
  custom: {
    50: '#5a677c',
    500: '#172f49',
    950: '#000000',
  },
}
SCSS
$custom: #172f49;
$custom-light: #5a677c;
$custom-dark: #000000;
JSON
{
  "hex": "#172f49",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 73
  },
  "hsl": {
    "h": 211.2,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29955,
    "c": 0.05629,
    "h": 251.9
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#172F49
secondary
#805F3C
accent
#974CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #172F49

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

Preview Lab → · Contrast checker → · Palette generator →

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