#173088#173088

#173088 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.150 H 266.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#173088
RGBrgb(23, 48, 136)
HSLhsl(227, 71%, 31%)
HSVhsv(227, 83%, 53%)
CMYKcmyk(83.1%, 64.7%, 0%, 46.7%)
CIE-LABlab(23.91, 25.41, -51.61)
CIE-LCHlch(23.91, 57.52, 296.22°)
OKLaboklab(35.38% -0.0099 -0.1494)
OKLCHoklch(35.38% 0.15 266.2)
XYZxyz(5.8527, 4.0729, 23.7655)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173088 #886F17
analogous
#176888 #173088 #361788
triadic
#173088 #881730 #308817
tetradic
#173088 #881768 #886F17 #178836
square
#173088 #881768 #886F17 #178836
split-complementary
#173088 #883617 #688817
monochromatic
#050B1F #0E1E54 #173088 #2042BC #3B5FDE

Accessibility & contrast

On white

11.57
#173088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#173088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173088
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173088#FFFFFF#000000##FFFFFF
##1730881.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173088;
/* rgb */ color: rgb(23, 48, 136);
/* oklch */ color: oklch(35.4% 0.150 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a68ac',
    500: '#173088',
    950: '#000000',
  },
}
SCSS
$custom: #173088;
$custom-light: #6a68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#173088",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 226.726,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.14969,
    "h": 266.2
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#173088
secondary
#BCA03F
accent
#C63AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #173088

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

Preview Lab → · Contrast checker → · Palette generator →

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