#173958#173958

#173958 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.068 H 248.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#173958
RGBrgb(23, 57, 88)
HSLhsl(209, 59%, 22%)
HSVhsv(209, 74%, 35%)
CMYKcmyk(73.9%, 35.2%, 0%, 65.5%)
CIE-LABlab(23.04, -0.72, -22.25)
CIE-LCHlch(23.04, 22.26, 268.14°)
OKLaboklab(33.58% -0.0246 -0.063)
OKLCHoklch(33.58% 0.068 248.7)
XYZxyz(3.5773, 3.8126, 9.7780)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173958 #583617
analogous
#175857 #173958 #171958
triadic
#173958 #581739 #395817
tetradic
#173958 #571758 #583617 #195817
square
#173958 #571758 #583617 #195817
split-complementary
#173958 #581719 #585717
monochromatic
#061018 #0A1A27 #173958 #245889 #3078B9

Accessibility & contrast

On white

11.91
#173958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173958
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173958#FFFFFF#000000##FFFFFF
##1739581.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#223457
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173958;
/* rgb */ color: rgb(23, 57, 88);
/* oklch */ color: oklch(33.6% 0.068 248.7);
Tailwind
colors: {
  custom: {
    50: '#5d6f87',
    500: '#173958',
    950: '#000000',
  },
}
SCSS
$custom: #173958;
$custom-light: #5d6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#173958",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 208.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33579,
    "c": 0.06766,
    "h": 248.7
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#173958
secondary
#8F633C
accent
#9046E2
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173958

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

Preview Lab → · Contrast checker → · Palette generator →

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