#173378#173378

#173378 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.123 H 264.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#173378
RGBrgb(23, 51, 120)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 47%)
CMYKcmyk(80.8%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.36, 16.78, -42.44)
CIE-LCHlch(23.36, 45.63, 291.58°)
OKLaboklab(34.53% -0.0124 -0.1224)
OKLCHoklch(34.53% 0.123 264.2)
XYZxyz(4.9261, 3.9053, 18.2598)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173378 #785C17
analogous
#176378 #173378 #2B1778
triadic
#173378 #781733 #337817
tetradic
#173378 #781763 #785C17 #17782B
square
#173378 #781763 #785C17 #17782B
split-complementary
#173378 #782B17 #637817
monochromatic
#050B1A #0D1D45 #173378 #2149AB #3262D8

Accessibility & contrast

On white

11.79
#173378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173378
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173378#FFFFFF#000000##FFFFFF
##1733781.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173378;
/* rgb */ color: rgb(23, 51, 120);
/* oklch */ color: oklch(34.5% 0.123 264.2);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#173378',
    950: '#000000',
  },
}
SCSS
$custom: #173378;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#173378",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 222.68,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.12304,
    "h": 264.2
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#173378
secondary
#AD8D3E
accent
#B93DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173378

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

Preview Lab → · Contrast checker → · Palette generator →

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