#17314E#17314E

#17314E is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.062 H 252.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#17314E
RGBrgb(23, 49, 78)
HSLhsl(212, 54%, 20%)
HSVhsv(212, 71%, 31%)
CMYKcmyk(70.5%, 37.2%, 0%, 69.4%)
CIE-LABlab(19.76, 0.79, -20.78)
CIE-LCHlch(19.76, 20.80, 272.16°)
OKLaboklab(30.81% -0.0184 -0.0588)
OKLCHoklch(30.81% 0.062 252.7)
XYZxyz(2.8263, 2.9286, 7.6226)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17314E #4E3417
analogous
#174D4E #17314E #18174E
triadic
#17314E #4E1731 #314E17
tetradic
#17314E #4E174D #4E3417 #174E18
square
#17314E #4E174D #4E3417 #174E18
split-complementary
#17314E #4E1817 #4D4E17
monochromatic
#070F18 #09131F #17314E #254F7D #336CAD

Accessibility & contrast

On white

13.24
#17314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#17314E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17314E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17314E#FFFFFF#000000##FFFFFF
##17314E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24334F
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17314e;
/* rgb */ color: rgb(23, 49, 78);
/* oklch */ color: oklch(30.8% 0.062 252.7);
Tailwind
colors: {
  custom: {
    50: '#5b687f',
    500: '#17314e',
    950: '#000000',
  },
}
SCSS
$custom: #17314e;
$custom-light: #5b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#17314e",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 211.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30812,
    "c": 0.06164,
    "h": 252.7
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#17314E
secondary
#85623C
accent
#984ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #17314E

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

Preview Lab → · Contrast checker → · Palette generator →

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