#173771#173771

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

Color values

HEX#173771
RGBrgb(23, 55, 113)
HSLhsl(219, 66%, 27%)
HSVhsv(219, 80%, 44%)
CMYKcmyk(79.6%, 51.3%, 0%, 55.7%)
CIE-LABlab(24.02, 11.01, -36.90)
CIE-LCHlch(24.02, 38.51, 286.62°)
OKLaboklab(34.86% -0.0165 -0.106)
OKLCHoklch(34.86% 0.107 261.1)
XYZxyz(4.6991, 4.1063, 16.1645)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173771 #715117
analogous
#176471 #173771 #241771
triadic
#173771 #711737 #377117
tetradic
#173771 #711764 #715117 #177124
square
#173771 #711764 #715117 #177124
split-complementary
#173771 #712417 #647117
monochromatic
#050C19 #0D1E3E #173771 #2150A4 #2E69D4

Accessibility & contrast

On white

11.53
#173771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173771
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173771#FFFFFF#000000##FFFFFF
##1737711.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173771;
/* rgb */ color: rgb(23, 55, 113);
/* oklch */ color: oklch(34.9% 0.107 261.1);
Tailwind
colors: {
  custom: {
    50: '#636d9a',
    500: '#173771',
    950: '#000000',
  },
}
SCSS
$custom: #173771;
$custom-light: #636d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#173771",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 218.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34863,
    "c": 0.10733,
    "h": 261.1
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#173771
secondary
#A7813D
accent
#AD3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173771

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

Preview Lab → · Contrast checker → · Palette generator →

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