#173778#173778

#173778 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.118 H 262.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#173778
RGBrgb(23, 55, 120)
HSLhsl(220, 68%, 28%)
HSVhsv(220, 81%, 47%)
CMYKcmyk(80.8%, 54.2%, 0%, 52.9%)
CIE-LABlab(24.54, 13.93, -40.51)
CIE-LCHlch(24.54, 42.84, 288.98°)
OKLaboklab(35.43% -0.0156 -0.1167)
OKLCHoklch(35.43% 0.118 262.4)
XYZxyz(5.1085, 4.2700, 18.3206)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173778 #785817
analogous
#176778 #173778 #271778
triadic
#173778 #781737 #377817
tetradic
#173778 #781767 #785817 #177827
square
#173778 #781767 #785817 #177827
split-complementary
#173778 #782717 #677817
monochromatic
#050C1A #0D1F45 #173778 #214FAB #3268D8

Accessibility & contrast

On white

11.33
#173778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173778
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173778#FFFFFF#000000##FFFFFF
##1737781.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3F7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173778;
/* rgb */ color: rgb(23, 55, 120);
/* oklch */ color: oklch(35.4% 0.118 262.4);
Tailwind
colors: {
  custom: {
    50: '#656d9f',
    500: '#173778',
    950: '#000000',
  },
}
SCSS
$custom: #173778;
$custom-light: #656d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173778",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 220.206,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.1177,
    "h": 262.4
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#173778
secondary
#AD883E
accent
#B13DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173778

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

Preview Lab → · Contrast checker → · Palette generator →

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