#173E7C#173E7C

#173E7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.114 H 259.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#173E7C
RGBrgb(23, 62, 124)
HSLhsl(217, 69%, 29%)
HSVhsv(217, 81%, 49%)
CMYKcmyk(81.5%, 50%, 0%, 51.4%)
CIE-LABlab(26.97, 10.65, -39.12)
CIE-LCHlch(26.97, 40.55, 285.23°)
OKLaboklab(37.38% -0.0209 -0.1124)
OKLCHoklch(37.38% 0.114 259.5)
XYZxyz(5.7127, 5.0820, 19.7447)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E7C #7C5517
analogous
#17717C #173E7C #23177C
triadic
#173E7C #7C173E #3E7C17
tetradic
#173E7C #7C1771 #7C5517 #177C23
square
#173E7C #7C1771 #7C5517 #177C23
split-complementary
#173E7C #7C2317 #717C17
monochromatic
#050D1A #0D2448 #173E7C #2158B0 #3474D9

Accessibility & contrast

On white

10.41
#173E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#173E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E7C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E7C#FFFFFF#000000##FFFFFF
##173E7C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173e7c;
/* rgb */ color: rgb(23, 62, 124);
/* oklch */ color: oklch(37.4% 0.114 259.5);
Tailwind
colors: {
  custom: {
    50: '#6572a2',
    500: '#173e7c',
    950: '#000000',
  },
}
SCSS
$custom: #173e7c;
$custom-light: #6572a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173e7c",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 216.832,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.11436,
    "h": 259.5
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#173E7C
secondary
#B1843E
accent
#A83CEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #173E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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