#173E80#173E80

#173E80 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.7% C 0.120 H 260.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#173E80
RGBrgb(23, 62, 128)
HSLhsl(218, 70%, 30%)
HSVhsv(218, 82%, 50%)
CMYKcmyk(82%, 51.6%, 0%, 49.8%)
CIE-LABlab(27.26, 12.31, -41.16)
CIE-LCHlch(27.26, 42.97, 286.65°)
OKLaboklab(37.69% -0.0202 -0.1184)
OKLCHoklch(37.69% 0.12 260.3)
XYZxyz(5.9708, 5.1852, 21.1040)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E80 #805917
analogous
#177380 #173E80 #241780
triadic
#173E80 #80173E #3E8017
tetradic
#173E80 #801773 #805917 #178024
square
#173E80 #801773 #805917 #178024
split-complementary
#173E80 #802417 #738017
monochromatic
#050D1A #0E254C #173E80 #2057B4 #3674DB

Accessibility & contrast

On white

10.31
#173E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#173E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E80
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E80#FFFFFF#000000##FFFFFF
##173E801.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173e80;
/* rgb */ color: rgb(23, 62, 128);
/* oklch */ color: oklch(37.7% 0.120 260.3);
Tailwind
colors: {
  custom: {
    50: '#6672a5',
    500: '#173e80',
    950: '#000000',
  },
}
SCSS
$custom: #173e80;
$custom-light: #6672a5;
$custom-dark: #000000;
JSON
{
  "hex": "#173e80",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 128
  },
  "hsl": {
    "h": 217.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37692,
    "c": 0.12017,
    "h": 260.3
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#173E80
secondary
#B4893E
accent
#AB3BEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #173E80

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

Preview Lab → · Contrast checker → · Palette generator →

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