#173374#173374

#173374 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.117 H 263.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#173374
RGBrgb(23, 51, 116)
HSLhsl(222, 67%, 27%)
HSVhsv(222, 80%, 45%)
CMYKcmyk(80.2%, 56%, 0%, 54.5%)
CIE-LABlab(23.03, 15.12, -40.41)
CIE-LCHlch(23.03, 43.15, 290.52°)
OKLaboklab(34.19% -0.0127 -0.1165)
OKLCHoklch(34.19% 0.117 263.8)
XYZxyz(4.6884, 3.8102, 17.0080)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173374 #745817
analogous
#176274 #173374 #291774
triadic
#173374 #741733 #337417
tetradic
#173374 #741762 #745817 #177429
square
#173374 #741762 #745817 #177429
split-complementary
#173374 #742917 #627417
monochromatic
#050B1A #0D1D41 #173374 #2149A7 #3062D6

Accessibility & contrast

On white

11.92
#173374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173374
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173374#FFFFFF#000000##FFFFFF
##1733741.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173374;
/* rgb */ color: rgb(23, 51, 116);
/* oklch */ color: oklch(34.2% 0.117 263.8);
Tailwind
colors: {
  custom: {
    50: '#646a9d',
    500: '#173374',
    950: '#000000',
  },
}
SCSS
$custom: #173374;
$custom-light: #646a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#173374",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 221.935,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.11716,
    "h": 263.8
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#173374
secondary
#A9893D
accent
#B63EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173374

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

Preview Lab → · Contrast checker → · Palette generator →

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