#173B81#173B81

#173B81 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.1% C 0.126 H 261.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#173B81
RGBrgb(23, 59, 129)
HSLhsl(220, 70%, 30%)
HSVhsv(220, 82%, 51%)
CMYKcmyk(82.2%, 54.3%, 0%, 49.4%)
CIE-LABlab(26.43, 14.84, -43.12)
CIE-LCHlch(26.43, 45.60, 288.98°)
OKLaboklab(37.09% -0.0177 -0.1243)
OKLCHoklch(37.09% 0.126 261.9)
XYZxyz(5.8783, 4.8944, 21.3995)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B81 #815D17
analogous
#177081 #173B81 #281781
triadic
#173B81 #81173B #3B8117
tetradic
#173B81 #811770 #815D17 #178128
square
#173B81 #811770 #815D17 #178128
split-complementary
#173B81 #812817 #708117
monochromatic
#050C1A #0E234D #173B81 #2053B5 #376FDB

Accessibility & contrast

On white

10.61
#173B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#173B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B81
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B81#FFFFFF#000000##FFFFFF
##173B811.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084483
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173b81;
/* rgb */ color: rgb(23, 59, 129);
/* oklch */ color: oklch(37.1% 0.126 261.9);
Tailwind
colors: {
  custom: {
    50: '#6770a6',
    500: '#173b81',
    950: '#000000',
  },
}
SCSS
$custom: #173b81;
$custom-light: #6770a6;
$custom-dark: #000000;
JSON
{
  "hex": "#173b81",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 219.623,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.12553,
    "h": 261.9
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#173B81
secondary
#B58D3E
accent
#B03BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173B81

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

Preview Lab → · Contrast checker → · Palette generator →

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