#173957#173957

#173957 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.066 H 247.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#173957
RGBrgb(23, 57, 87)
HSLhsl(208, 58%, 22%)
HSVhsv(208, 74%, 34%)
CMYKcmyk(73.6%, 34.5%, 0%, 65.9%)
CIE-LABlab(22.99, -1.13, -21.68)
CIE-LCHlch(22.99, 21.71, 267.03°)
OKLaboklab(33.52% -0.025 -0.0614)
OKLCHoklch(33.52% 0.066 247.9)
XYZxyz(3.5361, 3.7962, 9.5613)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173957 #573517
analogous
#175755 #173957 #171957
triadic
#173957 #571739 #395717
tetradic
#173957 #551757 #573517 #195717
square
#173957 #551757 #573517 #195717
split-complementary
#173957 #571719 #575517
monochromatic
#061018 #0A1927 #173957 #245987 #3178B8

Accessibility & contrast

On white

11.94
#173957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173957
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173957#FFFFFF#000000##FFFFFF
##1739571.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173957;
/* rgb */ color: rgb(23, 57, 87);
/* oklch */ color: oklch(33.5% 0.066 247.9);
Tailwind
colors: {
  custom: {
    50: '#5d6f86',
    500: '#173957',
    950: '#000000',
  },
}
SCSS
$custom: #173957;
$custom-light: #5d6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#173957",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 87
  },
  "hsl": {
    "h": 208.125,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33516,
    "c": 0.06624,
    "h": 247.9
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#173957
secondary
#8E623C
accent
#8F46E1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #173957

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

Preview Lab → · Contrast checker → · Palette generator →

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