#173E9E#173E9E

#173E9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.162 H 263.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#173E9E
RGBrgb(23, 62, 158)
HSLhsl(223, 75%, 35%)
HSVhsv(223, 85%, 62%)
CMYKcmyk(85.4%, 60.8%, 0%, 38%)
CIE-LABlab(29.65, 24.57, -55.75)
CIE-LCHlch(29.65, 60.92, 293.78°)
OKLaboklab(40.26% -0.0176 -0.1613)
OKLCHoklch(40.26% 0.162 263.8)
XYZxyz(8.2453, 6.0950, 33.0830)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E9E #9E7717
analogous
#17819E #173E9E #34179E
triadic
#173E9E #9E173E #3E9E17
tetradic
#173E9E #9E1781 #9E7717 #179E34
square
#173E9E #9E1781 #9E7717 #179E34
split-complementary
#173E9E #9E3417 #819E17
monochromatic
#071433 #0F2969 #173E9E #1F53D3 #4B77E5

Accessibility & contrast

On white

9.46
#173E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#173E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E9E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E9E#FFFFFF#000000##FFFFFF
##173E9E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #173e9e;
/* rgb */ color: rgb(23, 62, 158);
/* oklch */ color: oklch(40.3% 0.162 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e72bb',
    500: '#173e9e',
    950: '#000000',
  },
}
SCSS
$custom: #173e9e;
$custom-light: #6e72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#173e9e",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 222.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40256,
    "c": 0.16226,
    "h": 263.8
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#173E9E
secondary
#C6A34A
accent
#BB37F1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #173E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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