#173E78#173E78

#173E78 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.109 H 258.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#173E78
RGBrgb(23, 62, 120)
HSLhsl(216, 68%, 28%)
HSVhsv(216, 81%, 47%)
CMYKcmyk(80.8%, 48.3%, 0%, 52.9%)
CIE-LABlab(26.69, 8.99, -37.06)
CIE-LCHlch(26.69, 38.13, 283.64°)
OKLaboklab(37.07% -0.0216 -0.1063)
OKLCHoklch(37.07% 0.109 258.5)
XYZxyz(5.4649, 4.9828, 18.4394)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E78 #785117
analogous
#176E78 #173E78 #201778
triadic
#173E78 #78173E #3E7817
tetradic
#173E78 #78176E #785117 #177820
square
#173E78 #78176E #785117 #177820
split-complementary
#173E78 #782017 #6E7817
monochromatic
#050D1A #0D2345 #173E78 #2159AB #3274D8

Accessibility & contrast

On white

10.52
#173E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#173E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E78
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E78#FFFFFF#000000##FFFFFF
##173E781.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173e78;
/* rgb */ color: rgb(23, 62, 120);
/* oklch */ color: oklch(37.1% 0.109 258.5);
Tailwind
colors: {
  custom: {
    50: '#64729f',
    500: '#173e78',
    950: '#000000',
  },
}
SCSS
$custom: #173e78;
$custom-light: #64729f;
$custom-dark: #000000;
JSON
{
  "hex": "#173e78",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 215.876,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.10852,
    "h": 258.5
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#173E78
secondary
#AD803E
accent
#A53DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173E78

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

Preview Lab → · Contrast checker → · Palette generator →

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