#173A6A#173A6A

#173A6A is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 35.1% C 0.093 H 257.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#173A6A
RGBrgb(23, 58, 106)
HSLhsl(215, 64%, 25%)
HSVhsv(215, 78%, 42%)
CMYKcmyk(78.3%, 45.3%, 0%, 58.4%)
CIE-LABlab(24.48, 5.97, -31.68)
CIE-LCHlch(24.48, 32.24, 280.68°)
OKLaboklab(35.06% -0.0207 -0.0906)
OKLCHoklch(35.06% 0.093 257.1)
XYZxyz(4.4670, 4.2484, 14.2175)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A6A #6A4717
analogous
#17636A #173A6A #1E176A
triadic
#173A6A #6A173A #3A6A17
tetradic
#173A6A #6A1763 #6A4717 #176A1E
square
#173A6A #6A1763 #6A4717 #176A1E
split-complementary
#173A6A #6A1E17 #636A17
monochromatic
#050E19 #0C1E38 #173A6A #22569C #2D71CF

Accessibility & contrast

On white

11.35
#173A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A6A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A6A#FFFFFF#000000##FFFFFF
##173A6A1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#133769
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173a6a;
/* rgb */ color: rgb(23, 58, 106);
/* oklch */ color: oklch(35.1% 0.093 257.1);
Tailwind
colors: {
  custom: {
    50: '#616f95',
    500: '#173a6a',
    950: '#000000',
  },
}
SCSS
$custom: #173a6a;
$custom-light: #616f95;
$custom-dark: #000000;
JSON
{
  "hex": "#173a6a",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 214.699,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.09296,
    "h": 257.1
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#173A6A
secondary
#A0763D
accent
#A140E7
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #173A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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