#173256#173256

#173256 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.6% C 0.073 H 256.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#173256
RGBrgb(23, 50, 86)
HSLhsl(214, 58%, 21%)
HSVhsv(214, 73%, 34%)
CMYKcmyk(73.3%, 41.9%, 0%, 66.3%)
CIE-LABlab(20.58, 3.34, -24.83)
CIE-LCHlch(20.58, 25.05, 277.66°)
OKLaboklab(31.61% -0.0172 -0.0707)
OKLCHoklch(31.61% 0.073 256.3)
XYZxyz(3.1731, 3.1349, 9.2402)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173256 #563B17
analogous
#175256 #173256 #1C1756
triadic
#173256 #561732 #325617
tetradic
#173256 #561752 #563B17 #17561C
square
#173256 #561752 #563B17 #17561C
split-complementary
#173256 #561C17 #525617
monochromatic
#060E18 #0A1626 #173256 #244E86 #316AB7

Accessibility & contrast

On white

12.91
#173256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173256
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173256#FFFFFF#000000##FFFFFF
##1732561.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223557
Deuteranopia (green-blind)
#182F55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173256;
/* rgb */ color: rgb(23, 50, 86);
/* oklch */ color: oklch(31.6% 0.073 256.3);
Tailwind
colors: {
  custom: {
    50: '#5c6986',
    500: '#173256',
    950: '#000000',
  },
}
SCSS
$custom: #173256;
$custom-light: #5c6986;
$custom-dark: #000000;
JSON
{
  "hex": "#173256",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 214.286,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.07272,
    "h": 256.3
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#173256
secondary
#8D6A3C
accent
#9F47E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #173256

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

Preview Lab → · Contrast checker → · Palette generator →

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