#173B5F#173B5F

#173B5F is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.6% C 0.076 H 250.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#173B5F
RGBrgb(23, 59, 95)
HSLhsl(210, 61%, 23%)
HSVhsv(210, 76%, 37%)
CMYKcmyk(75.8%, 37.9%, 0%, 62.7%)
CIE-LABlab(24.12, 0.75, -25.13)
CIE-LCHlch(24.12, 25.14, 271.70°)
OKLaboklab(34.55% -0.0247 -0.0714)
OKLCHoklch(34.55% 0.076 250.9)
XYZxyz(3.9821, 4.1359, 11.4127)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B5F #5F3B17
analogous
#175F5F #173B5F #17175F
triadic
#173B5F #5F173B #3B5F17
tetradic
#173B5F #5F175F #5F3B17 #175F17
square
#173B5F #5F175F #5F3B17 #175F17
split-complementary
#173B5F #5F1717 #5F5F17
monochromatic
#060F19 #0B1C2E #173B5F #235A90 #2F78C2

Accessibility & contrast

On white

11.49
#173B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#173B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B5F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B5F#FFFFFF#000000##FFFFFF
##173B5F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173b5f;
/* rgb */ color: rgb(23, 59, 95);
/* oklch */ color: oklch(34.6% 0.076 250.9);
Tailwind
colors: {
  custom: {
    50: '#5e708c',
    500: '#173b5f',
    950: '#000000',
  },
}
SCSS
$custom: #173b5f;
$custom-light: #5e708c;
$custom-dark: #000000;
JSON
{
  "hex": "#173b5f",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 95
  },
  "hsl": {
    "h": 210,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34554,
    "c": 0.07555,
    "h": 250.9
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#173B5F
secondary
#96693C
accent
#9444E4
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173B5F

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

Preview Lab → · Contrast checker → · Palette generator →

#173B5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva