#173875#173875

#173875 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.112 H 261.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#173875
RGBrgb(23, 56, 117)
HSLhsl(219, 67%, 27%)
HSVhsv(219, 80%, 46%)
CMYKcmyk(80.3%, 52.1%, 0%, 54.1%)
CIE-LABlab(24.62, 11.97, -38.48)
CIE-LCHlch(24.62, 40.30, 287.28°)
OKLaboklab(35.42% -0.0168 -0.1107)
OKLCHoklch(35.42% 0.112 261.4)
XYZxyz(4.9773, 4.2943, 17.3927)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173875 #755417
analogous
#176775 #173875 #251775
triadic
#173875 #751738 #387517
tetradic
#173875 #751767 #755417 #177525
square
#173875 #751767 #755417 #177525
split-complementary
#173875 #752517 #677517
monochromatic
#050C1A #0D2042 #173875 #2150A8 #306AD6

Accessibility & contrast

On white

11.30
#173875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173875
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173875#FFFFFF#000000##FFFFFF
##1738751.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F77
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173875;
/* rgb */ color: rgb(23, 56, 117);
/* oklch */ color: oklch(35.4% 0.112 261.4);
Tailwind
colors: {
  custom: {
    50: '#646e9d',
    500: '#173875',
    950: '#000000',
  },
}
SCSS
$custom: #173875;
$custom-light: #646e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#173875",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 218.936,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.11194,
    "h": 261.4
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173875

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

Preview Lab → · Contrast checker → · Palette generator →

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