#173B70#173B70

#173B70 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.7% C 0.101 H 258.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#173B70
RGBrgb(23, 59, 112)
HSLhsl(216, 66%, 26%)
HSVhsv(216, 79%, 44%)
CMYKcmyk(79.5%, 47.3%, 0%, 56.1%)
CIE-LABlab(25.20, 7.77, -34.37)
CIE-LCHlch(25.20, 35.24, 282.73°)
OKLaboklab(35.75% -0.0204 -0.0985)
OKLCHoklch(35.75% 0.101 258.3)
XYZxyz(4.8409, 4.4794, 15.9356)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B70 #704C17
analogous
#176870 #173B70 #1F1770
triadic
#173B70 #70173B #3B7017
tetradic
#173B70 #701768 #704C17 #17701F
square
#173B70 #701768 #704C17 #17701F
split-complementary
#173B70 #701F17 #687017
monochromatic
#050D19 #0D203D #173B70 #2156A3 #2D71D4

Accessibility & contrast

On white

11.08
#173B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B70
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B70#FFFFFF#000000##FFFFFF
##173B701.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204072
Deuteranopia (green-blind)
#0D386F
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173b70;
/* rgb */ color: rgb(23, 59, 112);
/* oklch */ color: oklch(35.7% 0.101 258.3);
Tailwind
colors: {
  custom: {
    50: '#627099',
    500: '#173b70',
    950: '#000000',
  },
}
SCSS
$custom: #173b70;
$custom-light: #627099;
$custom-dark: #000000;
JSON
{
  "hex": "#173b70",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 112
  },
  "hsl": {
    "h": 215.73,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.1006,
    "h": 258.3
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#173B70
secondary
#A67B3D
accent
#A43FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B70

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

Preview Lab → · Contrast checker → · Palette generator →

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