#172673#172673

#172673 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.133 H 268.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#172673
RGBrgb(23, 38, 115)
HSLhsl(230, 67%, 27%)
HSVhsv(230, 80%, 45%)
CMYKcmyk(80%, 67%, 0%, 54.9%)
CIE-LABlab(19.25, 23.99, -45.94)
CIE-LCHlch(19.25, 51.83, 297.57°)
OKLaboklab(31.33% -0.0032 -0.1329)
OKLCHoklch(31.33% 0.133 268.6)
XYZxyz(4.1399, 2.8057, 16.5397)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172673 #736417
analogous
#175473 #172673 #361773
triadic
#172673 #731726 #267317
tetradic
#172673 #731754 #736417 #177336
square
#172673 #731754 #736417 #177336
split-complementary
#172673 #733617 #547317
monochromatic
#05081A #0D1540 #172673 #2137A6 #2F4AD5

Accessibility & contrast

On white

13.45
#172673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172673
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172673#FFFFFF#000000##FFFFFF
##1726731.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172673;
/* rgb */ color: rgb(23, 38, 115);
/* oklch */ color: oklch(31.3% 0.133 268.6);
Tailwind
colors: {
  custom: {
    50: '#65609c',
    500: '#172673',
    950: '#000000',
  },
}
SCSS
$custom: #172673;
$custom-light: #65609c;
$custom-dark: #000000;
JSON
{
  "hex": "#172673",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 230.217,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.13292,
    "h": 268.6
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#172673
secondary
#A9973D
accent
#CE3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #172673

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

Preview Lab → · Contrast checker → · Palette generator →

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