#17314D#17314D

#17314D is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.060 H 251.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#17314D
RGBrgb(23, 49, 77)
HSLhsl(211, 54%, 20%)
HSVhsv(211, 70%, 30%)
CMYKcmyk(70.1%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.70, 0.38, -20.20)
CIE-LCHlch(19.70, 20.20, 271.09°)
OKLaboklab(30.75% -0.0187 -0.0571)
OKLCHoklch(30.75% 0.06 251.9)
XYZxyz(2.7907, 2.9143, 7.4352)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17314D #4D3317
analogous
#174C4D #17314D #18174D
triadic
#17314D #4D1731 #314D17
tetradic
#17314D #4D174C #4D3317 #174D18
square
#17314D #4D174C #4D3317 #174D18
split-complementary
#17314D #4D1817 #4C4D17
monochromatic
#070F18 #09131E #17314D #254F7C #336DAB

Accessibility & contrast

On white

13.27
#17314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#17314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17314D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17314D#FFFFFF#000000##FFFFFF
##17314D1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324E
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17314d;
/* rgb */ color: rgb(23, 49, 77);
/* oklch */ color: oklch(30.7% 0.060 251.9);
Tailwind
colors: {
  custom: {
    50: '#5a687f',
    500: '#17314d',
    950: '#000000',
  },
}
SCSS
$custom: #17314d;
$custom-light: #5a687f;
$custom-dark: #000000;
JSON
{
  "hex": "#17314d",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 211.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.06013,
    "h": 251.9
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#17314D
secondary
#84613C
accent
#974ADD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #17314D

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

Preview Lab → · Contrast checker → · Palette generator →

#17314D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva