#173772#173772

#173772 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.109 H 261.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#173772
RGBrgb(23, 55, 114)
HSLhsl(219, 66%, 27%)
HSVhsv(219, 80%, 45%)
CMYKcmyk(79.8%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.09, 11.43, -37.42)
CIE-LCHlch(24.09, 39.13, 286.98°)
OKLaboklab(34.94% -0.0164 -0.1076)
OKLCHoklch(34.94% 0.109 261.3)
XYZxyz(4.7557, 4.1289, 16.4626)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173772 #725217
analogous
#176572 #173772 #251772
triadic
#173772 #721737 #377217
tetradic
#173772 #721765 #725217 #177225
square
#173772 #721765 #725217 #177225
split-complementary
#173772 #722517 #657217
monochromatic
#050C19 #0D1E3F #173772 #2150A5 #2E69D5

Accessibility & contrast

On white

11.50
#173772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#173772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173772
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173772#FFFFFF#000000##FFFFFF
##1737721.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173772;
/* rgb */ color: rgb(23, 55, 114);
/* oklch */ color: oklch(34.9% 0.109 261.3);
Tailwind
colors: {
  custom: {
    50: '#636d9b',
    500: '#173772',
    950: '#000000',
  },
}
SCSS
$custom: #173772;
$custom-light: #636d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#173772",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 218.901,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34943,
    "c": 0.10882,
    "h": 261.3
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#173772
secondary
#A8823D
accent
#AD3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173772

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

Preview Lab → · Contrast checker → · Palette generator →

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