#173370#173370

#173370 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.111 H 263.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#173370
RGBrgb(23, 51, 112)
HSLhsl(221, 66%, 26%)
HSVhsv(221, 79%, 44%)
CMYKcmyk(79.5%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.72, 13.46, -38.36)
CIE-LCHlch(22.72, 40.65, 289.33°)
OKLaboklab(33.85% -0.0132 -0.1104)
OKLCHoklch(33.85% 0.111 263.2)
XYZxyz(4.4608, 3.7192, 15.8089)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173370 #705417
analogous
#176070 #173370 #281770
triadic
#173370 #701733 #337017
tetradic
#173370 #701760 #705417 #177028
square
#173370 #701760 #705417 #177028
split-complementary
#173370 #702817 #607017
monochromatic
#050C19 #0D1C3D #173370 #214AA3 #2D62D4

Accessibility & contrast

On white

12.04
#173370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173370
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173370#FFFFFF#000000##FFFFFF
##1733701.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173370;
/* rgb */ color: rgb(23, 51, 112);
/* oklch */ color: oklch(33.8% 0.111 263.2);
Tailwind
colors: {
  custom: {
    50: '#636a9a',
    500: '#173370',
    950: '#000000',
  },
}
SCSS
$custom: #173370;
$custom-light: #636a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#173370",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 221.124,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.11121,
    "h": 263.2
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#173370
secondary
#A6853D
accent
#B33FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173370

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

Preview Lab → · Contrast checker → · Palette generator →

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