#173E76#173E76

#173E76 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.106 H 258.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#173E76
RGBrgb(23, 62, 118)
HSLhsl(215, 67%, 28%)
HSVhsv(215, 81%, 46%)
CMYKcmyk(80.5%, 47.5%, 0%, 53.7%)
CIE-LABlab(26.55, 8.16, -36.01)
CIE-LCHlch(26.55, 36.93, 282.77°)
OKLaboklab(36.92% -0.022 -0.1033)
OKLCHoklch(36.92% 0.106 258)
XYZxyz(5.3448, 4.9348, 17.8068)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E76 #764F17
analogous
#176E76 #173E76 #1F1776
triadic
#173E76 #76173E #3E7617
tetradic
#173E76 #76176E #764F17 #17761F
square
#173E76 #76176E #764F17 #17761F
split-complementary
#173E76 #761F17 #6E7617
monochromatic
#050D1A #0D2343 #173E76 #2159A9 #3175D7

Accessibility & contrast

On white

10.57
#173E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E76
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E76#FFFFFF#000000##FFFFFF
##173E761.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214378
Deuteranopia (green-blind)
#0B3B75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173e76;
/* rgb */ color: rgb(23, 62, 118);
/* oklch */ color: oklch(36.9% 0.106 258.0);
Tailwind
colors: {
  custom: {
    50: '#64729e',
    500: '#173e76',
    950: '#000000',
  },
}
SCSS
$custom: #173e76;
$custom-light: #64729e;
$custom-dark: #000000;
JSON
{
  "hex": "#173e76",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 215.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.1056,
    "h": 258
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#173E76
secondary
#AB7E3E
accent
#A33EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173E76

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

Preview Lab → · Contrast checker → · Palette generator →

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