#172B46#172B46

#172B46 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.056 H 256.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#172B46
RGBrgb(23, 43, 70)
HSLhsl(214, 51%, 18%)
HSVhsv(214, 67%, 27%)
CMYKcmyk(67.1%, 38.6%, 0%, 72.5%)
CIE-LABlab(17.24, 1.83, -19.33)
CIE-LCHlch(17.24, 19.42, 275.42°)
OKLaboklab(28.69% -0.0133 -0.0547)
OKLCHoklch(28.69% 0.056 256.3)
XYZxyz(2.3223, 2.3519, 6.1247)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B46 #463217
analogous
#174246 #172B46 #1A1746
triadic
#172B46 #46172B #2B4617
tetradic
#172B46 #461742 #463217 #17461A
square
#172B46 #461742 #463217 #17461A
split-complementary
#172B46 #461A17 #424617
monochromatic
#080E17 #080F18 #172B46 #264774 #3564A2

Accessibility & contrast

On white

14.28
#172B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B46
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B46#FFFFFF#000000##FFFFFF
##172B461.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D47
Deuteranopia (green-blind)
#192845
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b46;
/* rgb */ color: rgb(23, 43, 70);
/* oklch */ color: oklch(28.7% 0.056 256.3);
Tailwind
colors: {
  custom: {
    50: '#596479',
    500: '#172b46',
    950: '#000000',
  },
}
SCSS
$custom: #172b46;
$custom-light: #596479;
$custom-dark: #000000;
JSON
{
  "hex": "#172b46",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 70
  },
  "hsl": {
    "h": 214.468,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28687,
    "c": 0.05627,
    "h": 256.3
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#172B46
secondary
#7D613C
accent
#9E4EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #172B46

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

Preview Lab → · Contrast checker → · Palette generator →

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