#173A6E#173A6E

#173A6E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.099 H 258.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#173A6E
RGBrgb(23, 58, 110)
HSLhsl(216, 65%, 26%)
HSVhsv(216, 79%, 43%)
CMYKcmyk(79.1%, 47.3%, 0%, 56.9%)
CIE-LABlab(24.74, 7.64, -33.82)
CIE-LCHlch(24.74, 34.67, 282.73°)
OKLaboklab(35.35% -0.0199 -0.0969)
OKLCHoklch(35.35% 0.099 258.4)
XYZxyz(4.6799, 4.3335, 15.3386)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A6E #6E4B17
analogous
#17656E #173A6E #1F176E
triadic
#173A6E #6E173A #3A6E17
tetradic
#173A6E #6E1765 #6E4B17 #176E1F
square
#173A6E #6E1765 #6E4B17 #176E1F
split-complementary
#173A6E #6E1F17 #656E17
monochromatic
#050D19 #0C1F3B #173A6E #2255A1 #2C6FD3

Accessibility & contrast

On white

11.25
#173A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#173A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A6E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A6E#FFFFFF#000000##FFFFFF
##173A6E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173a6e;
/* rgb */ color: rgb(23, 58, 110);
/* oklch */ color: oklch(35.4% 0.099 258.4);
Tailwind
colors: {
  custom: {
    50: '#626f98',
    500: '#173a6e',
    950: '#000000',
  },
}
SCSS
$custom: #173a6e;
$custom-light: #626f98;
$custom-dark: #000000;
JSON
{
  "hex": "#173a6e",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 110
  },
  "hsl": {
    "h": 215.862,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.09892,
    "h": 258.4
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#173A6E
secondary
#A47A3D
accent
#A43FE8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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