#173078#173078

#173078 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.9% C 0.127 H 265.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#173078
RGBrgb(23, 48, 120)
HSLhsl(225, 68%, 28%)
HSVhsv(225, 81%, 47%)
CMYKcmyk(80.8%, 60%, 0%, 52.9%)
CIE-LABlab(22.48, 18.92, -43.85)
CIE-LCHlch(22.48, 47.76, 293.34°)
OKLaboklab(33.87% -0.0101 -0.1266)
OKLCHoklch(33.87% 0.127 265.4)
XYZxyz(4.7993, 3.6516, 18.2175)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173078 #785F17
analogous
#176078 #173078 #2E1778
triadic
#173078 #781730 #307817
tetradic
#173078 #781760 #785F17 #17782E
square
#173078 #781760 #785F17 #17782E
split-complementary
#173078 #782E17 #607817
monochromatic
#050A1A #0D1B45 #173078 #2145AB #325DD8

Accessibility & contrast

On white

12.14
#173078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173078
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173078#FFFFFF#000000##FFFFFF
##1730781.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173078;
/* rgb */ color: rgb(23, 48, 120);
/* oklch */ color: oklch(33.9% 0.127 265.4);
Tailwind
colors: {
  custom: {
    50: '#6567a0',
    500: '#173078',
    950: '#000000',
  },
}
SCSS
$custom: #173078;
$custom-light: #6567a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173078",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 224.536,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33874,
    "c": 0.12703,
    "h": 265.4
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#173078
secondary
#AD903E
accent
#BE3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173078

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

Preview Lab → · Contrast checker → · Palette generator →

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