#172574#172574

#172574 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.136 H 268.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#172574
RGBrgb(23, 37, 116)
HSLhsl(231, 67%, 27%)
HSVhsv(231, 80%, 45%)
CMYKcmyk(80.2%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.08, 25.09, -46.86)
CIE-LCHlch(19.08, 53.15, 298.16°)
OKLaboklab(31.24% -0.0026 -0.1356)
OKLCHoklch(31.24% 0.136 268.9)
XYZxyz(4.1662, 2.7658, 16.8339)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172574 #746617
analogous
#175374 #172574 #381774
triadic
#172574 #741725 #257417
tetradic
#172574 #741753 #746617 #177438
square
#172574 #741753 #746617 #177438
split-complementary
#172574 #743817 #537417
monochromatic
#05081A #0D1541 #172574 #2135A7 #3049D6

Accessibility & contrast

On white

13.52
#172574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172574
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172574#FFFFFF#000000##FFFFFF
##1725741.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172574;
/* rgb */ color: rgb(23, 37, 116);
/* oklch */ color: oklch(31.2% 0.136 268.9);
Tailwind
colors: {
  custom: {
    50: '#655f9d',
    500: '#172574',
    950: '#000000',
  },
}
SCSS
$custom: #172574;
$custom-light: #655f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#172574",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 230.968,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31235,
    "c": 0.13561,
    "h": 268.9
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#172574
secondary
#A9993D
accent
#D03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #172574

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

Preview Lab → · Contrast checker → · Palette generator →

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