#173889#173889

#173889 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.141 H 264.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#173889
RGBrgb(23, 56, 137)
HSLhsl(223, 71%, 31%)
HSVhsv(223, 83%, 54%)
CMYKcmyk(83.2%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.20, 20.24, -48.48)
CIE-LCHlch(26.20, 52.54, 292.66°)
OKLaboklab(37.12% -0.0148 -0.1401)
OKLCHoklch(37.12% 0.141 264)
XYZxyz(6.2813, 4.8159, 24.2606)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173889 #896817
analogous
#177189 #173889 #2F1789
triadic
#173889 #891738 #388917
tetradic
#173889 #891771 #896817 #17892F
square
#173889 #891771 #896817 #17892F
split-complementary
#173889 #892F17 #718917
monochromatic
#050D20 #0E2355 #173889 #204DBD #3C6BDE

Accessibility & contrast

On white

10.70
#173889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173889
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173889#FFFFFF#000000##FFFFFF
##1738891.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173889;
/* rgb */ color: rgb(23, 56, 137);
/* oklch */ color: oklch(37.1% 0.141 264.0);
Tailwind
colors: {
  custom: {
    50: '#696eac',
    500: '#173889',
    950: '#000000',
  },
}
SCSS
$custom: #173889;
$custom-light: #696eac;
$custom-dark: #000000;
JSON
{
  "hex": "#173889",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 222.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.14087,
    "h": 264
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#173889
secondary
#BD983F
accent
#BA3AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173889

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

Preview Lab → · Contrast checker → · Palette generator →

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