#173774#173774

#173774 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.112 H 261.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#173774
RGBrgb(23, 55, 116)
HSLhsl(219, 67%, 27%)
HSVhsv(219, 80%, 45%)
CMYKcmyk(80.2%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.24, 12.27, -38.46)
CIE-LCHlch(24.24, 40.37, 287.69°)
OKLaboklab(35.1% -0.0161 -0.1106)
OKLCHoklch(35.1% 0.112 261.7)
XYZxyz(4.8708, 4.1749, 17.0687)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173774 #745417
analogous
#176574 #173774 #261774
triadic
#173774 #741737 #377417
tetradic
#173774 #741765 #745417 #177426
square
#173774 #741765 #745417 #177426
split-complementary
#173774 #742617 #657417
monochromatic
#050C1A #0D1F41 #173774 #214FA7 #3069D6

Accessibility & contrast

On white

11.44
#173774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#173774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173774
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173774#FFFFFF#000000##FFFFFF
##1737741.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173774;
/* rgb */ color: rgb(23, 55, 116);
/* oklch */ color: oklch(35.1% 0.112 261.7);
Tailwind
colors: {
  custom: {
    50: '#646d9c',
    500: '#173774',
    950: '#000000',
  },
}
SCSS
$custom: #173774;
$custom-light: #646d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173774",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 219.355,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35103,
    "c": 0.1118,
    "h": 261.7
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#173774
secondary
#A9843D
accent
#AF3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173774

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

Preview Lab → · Contrast checker → · Palette generator →

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