#173876#173876

#173876 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.113 H 261.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#173876
RGBrgb(23, 56, 118)
HSLhsl(219, 67%, 28%)
HSVhsv(219, 81%, 46%)
CMYKcmyk(80.5%, 52.5%, 0%, 53.7%)
CIE-LABlab(24.70, 12.39, -39.00)
CIE-LCHlch(24.70, 40.92, 287.62°)
OKLaboklab(35.5% -0.0167 -0.1122)
OKLCHoklch(35.5% 0.113 261.5)
XYZxyz(5.0364, 4.3179, 17.7040)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173876 #765517
analogous
#176776 #173876 #261776
triadic
#173876 #761738 #387617
tetradic
#173876 #761767 #765517 #177626
square
#173876 #761767 #765517 #177626
split-complementary
#173876 #762617 #677617
monochromatic
#050C1A #0D2043 #173876 #2150A9 #316AD7

Accessibility & contrast

On white

11.27
#173876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173876
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173876#FFFFFF#000000##FFFFFF
##1738761.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173876;
/* rgb */ color: rgb(23, 56, 118);
/* oklch */ color: oklch(35.5% 0.113 261.5);
Tailwind
colors: {
  custom: {
    50: '#646e9e',
    500: '#173876',
    950: '#000000',
  },
}
SCSS
$custom: #173876;
$custom-light: #646e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#173876",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 219.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.11342,
    "h": 261.5
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#173876
secondary
#AB853E
accent
#AE3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173876

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

Preview Lab → · Contrast checker → · Palette generator →

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