#172B45#172B45

#172B45 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.055 H 255.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#172B45
RGBrgb(23, 43, 69)
HSLhsl(214, 50%, 18%)
HSVhsv(214, 67%, 27%)
CMYKcmyk(66.7%, 37.7%, 0%, 72.9%)
CIE-LABlab(17.18, 1.43, -18.74)
CIE-LCHlch(17.18, 18.79, 274.37°)
OKLaboklab(28.62% -0.0136 -0.053)
OKLCHoklch(28.62% 0.055 255.6)
XYZxyz(2.2910, 2.3394, 5.9599)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B45 #453117
analogous
#174245 #172B45 #1A1745
triadic
#172B45 #45172B #2B4517
tetradic
#172B45 #451742 #453117 #17451A
square
#172B45 #451742 #453117 #17451A
split-complementary
#172B45 #451A17 #424517
monochromatic
#080E17 #080E17 #172B45 #264873 #3664A1

Accessibility & contrast

On white

14.31
#172B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B45
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B45#FFFFFF#000000##FFFFFF
##172B451.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D46
Deuteranopia (green-blind)
#1A2844
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b45;
/* rgb */ color: rgb(23, 43, 69);
/* oklch */ color: oklch(28.6% 0.055 255.6);
Tailwind
colors: {
  custom: {
    50: '#596479',
    500: '#172b45',
    950: '#000000',
  },
}
SCSS
$custom: #172b45;
$custom-light: #596479;
$custom-dark: #000000;
JSON
{
  "hex": "#172b45",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 213.913,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28622,
    "c": 0.05468,
    "h": 255.6
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#172B45
secondary
#7C603C
accent
#9D4EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #172B45

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

Preview Lab → · Contrast checker → · Palette generator →

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