#172C46#172C46

#172C46 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.055 H 254.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#172C46
RGBrgb(23, 44, 70)
HSLhsl(213, 51%, 18%)
HSVhsv(213, 67%, 27%)
CMYKcmyk(67.1%, 37.1%, 0%, 72.5%)
CIE-LABlab(17.58, 1.12, -18.79)
CIE-LCHlch(17.58, 18.82, 273.40°)
OKLaboklab(28.96% -0.0146 -0.0531)
OKLCHoklch(28.96% 0.055 254.6)
XYZxyz(2.3591, 2.4255, 6.1370)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C46 #463117
analogous
#174346 #172C46 #191746
triadic
#172C46 #46172C #2C4617
tetradic
#172C46 #461743 #463117 #174619
square
#172C46 #461743 #463117 #174619
split-complementary
#172C46 #461917 #434617
monochromatic
#080E17 #080F18 #172C46 #264974 #3566A2

Accessibility & contrast

On white

14.14
#172C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C46
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C46#FFFFFF#000000##FFFFFF
##172C461.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E47
Deuteranopia (green-blind)
#1B2945
Tritanopia (blue-blind)
#003235
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172c46;
/* rgb */ color: rgb(23, 44, 70);
/* oklch */ color: oklch(29.0% 0.055 254.6);
Tailwind
colors: {
  custom: {
    50: '#596479',
    500: '#172c46',
    950: '#000000',
  },
}
SCSS
$custom: #172c46;
$custom-light: #596479;
$custom-dark: #000000;
JSON
{
  "hex": "#172c46",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 213.191,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28955,
    "c": 0.05507,
    "h": 254.6
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#172C46
secondary
#7D603C
accent
#9B4EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172C46

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

Preview Lab → · Contrast checker → · Palette generator →

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