#172374#172374

#172374 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.138 H 269.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#172374
RGBrgb(23, 35, 116)
HSLhsl(232, 67%, 27%)
HSVhsv(232, 80%, 45%)
CMYKcmyk(80.2%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.56, 26.47, -47.71)
CIE-LCHlch(18.56, 54.56, 299.02°)
OKLaboklab(30.86% -0.0014 -0.1381)
OKLCHoklch(30.86% 0.138 269.4)
XYZxyz(4.1057, 2.6447, 16.8137)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172374 #746817
analogous
#175274 #172374 #3A1774
triadic
#172374 #741723 #237417
tetradic
#172374 #741752 #746817 #17743A
square
#172374 #741752 #746817 #17743A
split-complementary
#172374 #743A17 #527417
monochromatic
#05081A #0D1441 #172374 #2132A7 #3045D6

Accessibility & contrast

On white

13.73
#172374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172374
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172374#FFFFFF#000000##FFFFFF
##1723741.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172374;
/* rgb */ color: rgb(23, 35, 116);
/* oklch */ color: oklch(30.9% 0.138 269.4);
Tailwind
colors: {
  custom: {
    50: '#655e9d',
    500: '#172374',
    950: '#000000',
  },
}
SCSS
$custom: #172374;
$custom-light: #655e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#172374",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 232.258,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30856,
    "c": 0.1381,
    "h": 269.4
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#172374
secondary
#A99B3D
accent
#D43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172374

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

Preview Lab → · Contrast checker → · Palette generator →

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