#173976#173976

#173976 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.112 H 261.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#173976
RGBrgb(23, 57, 118)
HSLhsl(219, 67%, 28%)
HSVhsv(219, 81%, 46%)
CMYKcmyk(80.5%, 51.7%, 0%, 53.7%)
CIE-LABlab(25.00, 11.68, -38.50)
CIE-LCHlch(25.00, 40.24, 286.87°)
OKLaboklab(35.73% -0.0175 -0.1107)
OKLCHoklch(35.73% 0.112 261)
XYZxyz(5.0853, 4.4158, 17.7204)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173976 #765417
analogous
#176976 #173976 #241776
triadic
#173976 #761739 #397617
tetradic
#173976 #761769 #765417 #177624
square
#173976 #761769 #765417 #177624
split-complementary
#173976 #762417 #697617
monochromatic
#050C1A #0D2043 #173976 #2152A9 #316CD7

Accessibility & contrast

On white

11.15
#173976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#173976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173976
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173976#FFFFFF#000000##FFFFFF
##1739761.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173976;
/* rgb */ color: rgb(23, 57, 118);
/* oklch */ color: oklch(35.7% 0.112 261.0);
Tailwind
colors: {
  custom: {
    50: '#646e9e',
    500: '#173976',
    950: '#000000',
  },
}
SCSS
$custom: #173976;
$custom-light: #646e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#173976",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 218.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35732,
    "c": 0.1121,
    "h": 261
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#173976
secondary
#AB843E
accent
#AC3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173976

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

Preview Lab → · Contrast checker → · Palette generator →

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