#173278#173278

#173278 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.124 H 264.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#173278
RGBrgb(23, 50, 120)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 47%)
CMYKcmyk(80.8%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.06, 17.50, -42.91)
CIE-LCHlch(23.06, 46.34, 292.18°)
OKLaboklab(34.31% -0.0116 -0.1238)
OKLCHoklch(34.31% 0.124 264.6)
XYZxyz(4.8829, 3.8189, 18.2454)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173278 #785D17
analogous
#176278 #173278 #2C1778
triadic
#173278 #781732 #327817
tetradic
#173278 #781762 #785D17 #17782C
square
#173278 #781762 #785D17 #17782C
split-complementary
#173278 #782C17 #627817
monochromatic
#050B1A #0D1D45 #173278 #2147AB #3260D8

Accessibility & contrast

On white

11.91
#173278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173278
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173278#FFFFFF#000000##FFFFFF
##1732781.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173278;
/* rgb */ color: rgb(23, 50, 120);
/* oklch */ color: oklch(34.3% 0.124 264.6);
Tailwind
colors: {
  custom: {
    50: '#6569a0',
    500: '#173278',
    950: '#000000',
  },
}
SCSS
$custom: #173278;
$custom-light: #6569a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173278",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 223.299,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34309,
    "c": 0.12437,
    "h": 264.6
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#173278
secondary
#AD8E3E
accent
#BA3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173278

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

Preview Lab → · Contrast checker → · Palette generator →

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