#173970#173970

#173970 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.103 H 259.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#173970
RGBrgb(23, 57, 112)
HSLhsl(217, 66%, 26%)
HSVhsv(217, 79%, 44%)
CMYKcmyk(79.5%, 49.1%, 0%, 56.1%)
CIE-LABlab(24.57, 9.18, -35.38)
CIE-LCHlch(24.57, 36.55, 284.54°)
OKLaboklab(35.26% -0.0185 -0.1015)
OKLCHoklch(35.26% 0.103 259.7)
XYZxyz(4.7400, 4.2777, 15.9020)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173970 #704E17
analogous
#176670 #173970 #221770
triadic
#173970 #701739 #397017
tetradic
#173970 #701766 #704E17 #177022
square
#173970 #701766 #704E17 #177022
split-complementary
#173970 #702217 #667017
monochromatic
#050D19 #0D1F3D #173970 #2153A3 #2D6DD4

Accessibility & contrast

On white

11.32
#173970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173970
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173970#FFFFFF#000000##FFFFFF
##1739701.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#05376F
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173970;
/* rgb */ color: rgb(23, 57, 112);
/* oklch */ color: oklch(35.3% 0.103 259.7);
Tailwind
colors: {
  custom: {
    50: '#626e99',
    500: '#173970',
    950: '#000000',
  },
}
SCSS
$custom: #173970;
$custom-light: #626e99;
$custom-dark: #000000;
JSON
{
  "hex": "#173970",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 112
  },
  "hsl": {
    "h": 217.079,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35262,
    "c": 0.1032,
    "h": 259.7
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#173970
secondary
#A67E3D
accent
#A83FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173970

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

Preview Lab → · Contrast checker → · Palette generator →

#173970 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva