#173258#173258

#173258 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.076 H 257.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#173258
RGBrgb(23, 50, 88)
HSLhsl(215, 59%, 22%)
HSVhsv(215, 74%, 35%)
CMYKcmyk(73.9%, 43.2%, 0%, 65.5%)
CIE-LABlab(20.70, 4.16, -25.95)
CIE-LCHlch(20.70, 26.28, 279.12°)
OKLaboklab(31.75% -0.0166 -0.074)
OKLCHoklch(31.75% 0.076 257.3)
XYZxyz(3.2548, 3.1676, 9.6705)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173258 #583D17
analogous
#175358 #173258 #1D1758
triadic
#173258 #581732 #325817
tetradic
#173258 #581753 #583D17 #17581D
square
#173258 #581753 #583D17 #17581D
split-complementary
#173258 #581D17 #535817
monochromatic
#060E18 #0A1627 #173258 #244E89 #3069B9

Accessibility & contrast

On white

12.86
#173258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#173258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173258
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173258#FFFFFF#000000##FFFFFF
##1732581.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21355A
Deuteranopia (green-blind)
#172F57
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173258;
/* rgb */ color: rgb(23, 50, 88);
/* oklch */ color: oklch(31.8% 0.076 257.3);
Tailwind
colors: {
  custom: {
    50: '#5d6987',
    500: '#173258',
    950: '#000000',
  },
}
SCSS
$custom: #173258;
$custom-light: #5d6987;
$custom-dark: #000000;
JSON
{
  "hex": "#173258",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 215.077,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31751,
    "c": 0.07581,
    "h": 257.3
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#173258
secondary
#8F6C3C
accent
#A146E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #173258

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

Preview Lab → · Contrast checker → · Palette generator →

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