#172E45#172E45

#172E45 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.051 H 250.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#172E45
RGBrgb(23, 46, 69)
HSLhsl(210, 50%, 18%)
HSVhsv(210, 67%, 27%)
CMYKcmyk(66.7%, 33.3%, 0%, 72.9%)
CIE-LABlab(18.21, -0.70, -17.11)
CIE-LCHlch(18.21, 17.12, 267.67°)
OKLaboklab(29.43% -0.0176 -0.0482)
OKLCHoklch(29.43% 0.051 250)
XYZxyz(2.4041, 2.5656, 5.9976)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E45 #452E17
analogous
#174545 #172E45 #171745
triadic
#172E45 #45172E #2E4517
tetradic
#172E45 #451745 #452E17 #174517
square
#172E45 #451745 #452E17 #174517
split-complementary
#172E45 #451717 #454517
monochromatic
#080F17 #080F17 #172E45 #264D73 #366BA1

Accessibility & contrast

On white

13.88
#172E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E45
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E45#FFFFFF#000000##FFFFFF
##172E451.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F46
Deuteranopia (green-blind)
#1E2A45
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172e45;
/* rgb */ color: rgb(23, 46, 69);
/* oklch */ color: oklch(29.4% 0.051 250.0);
Tailwind
colors: {
  custom: {
    50: '#596678',
    500: '#172e45',
    950: '#000000',
  },
}
SCSS
$custom: #172e45;
$custom-light: #596678;
$custom-dark: #000000;
JSON
{
  "hex": "#172e45",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 69
  },
  "hsl": {
    "h": 210,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.05131,
    "h": 250
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#172E45
secondary
#7C5C3C
accent
#944EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172E45

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

Preview Lab → · Contrast checker → · Palette generator →

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