#173A70#173A70

#173A70 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.102 H 259.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#173A70
RGBrgb(23, 58, 112)
HSLhsl(216, 66%, 26%)
HSVhsv(216, 79%, 44%)
CMYKcmyk(79.5%, 48.2%, 0%, 56.1%)
CIE-LABlab(24.88, 8.47, -34.87)
CIE-LCHlch(24.88, 35.89, 283.65°)
OKLaboklab(35.5% -0.0195 -0.1)
OKLCHoklch(35.5% 0.102 259)
XYZxyz(4.7900, 4.3776, 15.9186)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A70 #704D17
analogous
#176770 #173A70 #201770
triadic
#173A70 #70173A #3A7017
tetradic
#173A70 #701767 #704D17 #177020
square
#173A70 #701767 #704D17 #177020
split-complementary
#173A70 #702017 #677017
monochromatic
#050D19 #0D203D #173A70 #2154A3 #2D6FD4

Accessibility & contrast

On white

11.20
#173A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#173A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A70
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A70#FFFFFF#000000##FFFFFF
##173A701.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F72
Deuteranopia (green-blind)
#09376F
Tritanopia (blue-blind)
#00474F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173a70;
/* rgb */ color: rgb(23, 58, 112);
/* oklch */ color: oklch(35.5% 0.102 259.0);
Tailwind
colors: {
  custom: {
    50: '#626f99',
    500: '#173a70',
    950: '#000000',
  },
}
SCSS
$custom: #173a70;
$custom-light: #626f99;
$custom-dark: #000000;
JSON
{
  "hex": "#173a70",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 112
  },
  "hsl": {
    "h": 216.404,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35503,
    "c": 0.1019,
    "h": 259
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#173A70
secondary
#A67D3D
accent
#A63FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A70

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

Preview Lab → · Contrast checker → · Palette generator →

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