#173873#173873

#173873 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.109 H 261.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#173873
RGBrgb(23, 56, 115)
HSLhsl(218, 67%, 27%)
HSVhsv(218, 80%, 45%)
CMYKcmyk(80%, 51.3%, 0%, 54.9%)
CIE-LABlab(24.47, 11.14, -37.44)
CIE-LCHlch(24.47, 39.07, 286.56°)
OKLaboklab(35.26% -0.0171 -0.1076)
OKLCHoklch(35.26% 0.109 261)
XYZxyz(4.8609, 4.2478, 16.7800)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173873 #735217
analogous
#176673 #173873 #241773
triadic
#173873 #731738 #387317
tetradic
#173873 #731766 #735217 #177324
square
#173873 #731766 #735217 #177324
split-complementary
#173873 #732417 #667317
monochromatic
#050C1A #0D1F40 #173873 #2151A6 #2F6BD5

Accessibility & contrast

On white

11.35
#173873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173873
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173873#FFFFFF#000000##FFFFFF
##1738731.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173873;
/* rgb */ color: rgb(23, 56, 115);
/* oklch */ color: oklch(35.3% 0.109 261.0);
Tailwind
colors: {
  custom: {
    50: '#636e9c',
    500: '#173873',
    950: '#000000',
  },
}
SCSS
$custom: #173873;
$custom-light: #636e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173873",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 218.478,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35258,
    "c": 0.10898,
    "h": 261
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#173873
secondary
#A9823D
accent
#AC3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173873

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

Preview Lab → · Contrast checker → · Palette generator →

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