#173257#173257

#173257 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.074 H 256.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#173257
RGBrgb(23, 50, 87)
HSLhsl(215, 58%, 22%)
HSVhsv(215, 74%, 34%)
CMYKcmyk(73.6%, 42.5%, 0%, 65.9%)
CIE-LABlab(20.64, 3.75, -25.39)
CIE-LCHlch(20.64, 25.67, 278.40°)
OKLaboklab(31.68% -0.0169 -0.0723)
OKLCHoklch(31.68% 0.074 256.8)
XYZxyz(3.2136, 3.1512, 9.4538)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173257 #573C17
analogous
#175257 #173257 #1C1757
triadic
#173257 #571732 #325717
tetradic
#173257 #571752 #573C17 #17571C
square
#173257 #571752 #573C17 #17571C
split-complementary
#173257 #571C17 #525717
monochromatic
#060E18 #0A1627 #173257 #244E87 #316AB8

Accessibility & contrast

On white

12.88
#173257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#173257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173257
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173257#FFFFFF#000000##FFFFFF
##1732571.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213558
Deuteranopia (green-blind)
#182F56
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173257;
/* rgb */ color: rgb(23, 50, 87);
/* oklch */ color: oklch(31.7% 0.074 256.8);
Tailwind
colors: {
  custom: {
    50: '#5d6986',
    500: '#173257',
    950: '#000000',
  },
}
SCSS
$custom: #173257;
$custom-light: #5d6986;
$custom-dark: #000000;
JSON
{
  "hex": "#173257",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 87
  },
  "hsl": {
    "h": 214.688,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3168,
    "c": 0.07426,
    "h": 256.8
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#173257
secondary
#8E6B3C
accent
#A046E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #173257

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

Preview Lab → · Contrast checker → · Palette generator →

#173257 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva