#173478#173478

#173478 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.122 H 263.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#173478
RGBrgb(23, 52, 120)
HSLhsl(222, 68%, 28%)
HSVhsv(222, 81%, 47%)
CMYKcmyk(80.8%, 56.7%, 0%, 52.9%)
CIE-LABlab(23.65, 16.07, -41.96)
CIE-LCHlch(23.65, 44.93, 290.96°)
OKLaboklab(34.75% -0.0132 -0.121)
OKLCHoklch(34.75% 0.122 263.8)
XYZxyz(4.9703, 3.9936, 18.2746)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173478 #785B17
analogous
#176478 #173478 #2A1778
triadic
#173478 #781734 #347817
tetradic
#173478 #781764 #785B17 #17782A
square
#173478 #781764 #785B17 #17782A
split-complementary
#173478 #782A17 #647817
monochromatic
#050B1A #0D1E45 #173478 #214AAB #3263D8

Accessibility & contrast

On white

11.67
#173478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173478
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173478#FFFFFF#000000##FFFFFF
##1734781.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173478;
/* rgb */ color: rgb(23, 52, 120);
/* oklch */ color: oklch(34.8% 0.122 263.8);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#173478',
    950: '#000000',
  },
}
SCSS
$custom: #173478;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#173478",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 222.062,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.12171,
    "h": 263.8
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#173478
secondary
#AD8C3E
accent
#B73DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173478

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

Preview Lab → · Contrast checker → · Palette generator →

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