#173978#173978

#173978 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.115 H 261.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#173978
RGBrgb(23, 57, 120)
HSLhsl(219, 68%, 28%)
HSVhsv(219, 81%, 47%)
CMYKcmyk(80.8%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.15, 12.51, -39.53)
CIE-LCHlch(25.15, 41.46, 287.56°)
OKLaboklab(35.89% -0.0173 -0.1137)
OKLCHoklch(35.89% 0.115 261.4)
XYZxyz(5.2054, 4.4639, 18.3529)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173978 #785617
analogous
#176978 #173978 #251778
triadic
#173978 #781739 #397817
tetradic
#173978 #781769 #785617 #177825
square
#173978 #781769 #785617 #177825
split-complementary
#173978 #782517 #697817
monochromatic
#050C1A #0D2145 #173978 #2151AB #326CD8

Accessibility & contrast

On white

11.09
#173978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173978
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173978#FFFFFF#000000##FFFFFF
##1739781.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12407A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173978;
/* rgb */ color: rgb(23, 57, 120);
/* oklch */ color: oklch(35.9% 0.115 261.4);
Tailwind
colors: {
  custom: {
    50: '#656e9f',
    500: '#173978',
    950: '#000000',
  },
}
SCSS
$custom: #173978;
$custom-light: #656e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173978",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 218.969,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.11505,
    "h": 261.4
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#173978
secondary
#AD863E
accent
#AE3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173978

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

Preview Lab → · Contrast checker → · Palette generator →

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