#173A74#173A74

#173A74 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.108 H 260.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#173A74
RGBrgb(23, 58, 116)
HSLhsl(217, 67%, 27%)
HSVhsv(217, 80%, 45%)
CMYKcmyk(80.2%, 50%, 0%, 54.5%)
CIE-LABlab(25.16, 10.14, -36.97)
CIE-LCHlch(25.16, 38.33, 285.33°)
OKLaboklab(35.81% -0.0187 -0.1062)
OKLCHoklch(35.81% 0.108 260)
XYZxyz(5.0176, 4.4686, 17.1177)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A74 #745117
analogous
#176974 #173A74 #221774
triadic
#173A74 #74173A #3A7417
tetradic
#173A74 #741769 #745117 #177422
square
#173A74 #741769 #745117 #177422
split-complementary
#173A74 #742217 #697417
monochromatic
#050D1A #0D2041 #173A74 #2154A7 #306ED6

Accessibility & contrast

On white

11.09
#173A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A74
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A74#FFFFFF#000000##FFFFFF
##173A741.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4076
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173a74;
/* rgb */ color: rgb(23, 58, 116);
/* oklch */ color: oklch(35.8% 0.108 260.0);
Tailwind
colors: {
  custom: {
    50: '#636f9c',
    500: '#173a74',
    950: '#000000',
  },
}
SCSS
$custom: #173a74;
$custom-light: #636f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173a74",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 116
  },
  "hsl": {
    "h": 217.419,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3581,
    "c": 0.10783,
    "h": 260
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#173A74
secondary
#A9813D
accent
#A93EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A74

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

Preview Lab → · Contrast checker → · Palette generator →

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