#173A90#173A90

#173A90 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.148 H 263.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#173A90
RGBrgb(23, 58, 144)
HSLhsl(223, 72%, 33%)
HSVhsv(223, 84%, 56%)
CMYKcmyk(84%, 59.7%, 0%, 43.5%)
CIE-LABlab(27.36, 21.69, -50.94)
CIE-LCHlch(27.36, 55.36, 293.07°)
OKLaboklab(38.17% -0.0158 -0.1473)
OKLCHoklch(38.17% 0.148 263.9)
XYZxyz(6.8987, 5.2210, 27.0243)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A90 #906D17
analogous
#177690 #173A90 #311790
triadic
#173A90 #90173A #3A9017
tetradic
#173A90 #901776 #906D17 #179031
square
#173A90 #901776 #906D17 #179031
split-complementary
#173A90 #903117 #769017
monochromatic
#060F26 #0F255B #173A90 #1F4FC5 #416FE1

Accessibility & contrast

On white

10.27
#173A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A90
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A90#FFFFFF#000000##FFFFFF
##173A901.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173a90;
/* rgb */ color: rgb(23, 58, 144);
/* oklch */ color: oklch(38.2% 0.148 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b6fb1',
    500: '#173a90',
    950: '#000000',
  },
}
SCSS
$custom: #173a90;
$custom-light: #6b6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#173a90",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 222.645,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.1481,
    "h": 263.9
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#173A90
secondary
#C19C42
accent
#BA39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173A90

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

Preview Lab → · Contrast checker → · Palette generator →

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