#172475#172475

#172475 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.138 H 269.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#172475
RGBrgb(23, 36, 117)
HSLhsl(232, 67%, 27%)
HSVhsv(232, 80%, 46%)
CMYKcmyk(80.3%, 69.2%, 0%, 54.1%)
CIE-LABlab(18.92, 26.17, -47.77)
CIE-LCHlch(18.92, 54.47, 298.72°)
OKLaboklab(31.15% -0.0021 -0.1382)
OKLCHoklch(31.15% 0.138 269.1)
XYZxyz(4.1940, 2.7278, 17.1317)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172475 #756817
analogous
#175375 #172475 #391775
triadic
#172475 #751724 #247517
tetradic
#172475 #751753 #756817 #177539
square
#172475 #751753 #756817 #177539
split-complementary
#172475 #753917 #537517
monochromatic
#05081A #0D1442 #172475 #2134A8 #3047D6

Accessibility & contrast

On white

13.59
#172475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172475
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172475#FFFFFF#000000##FFFFFF
##1724751.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172475;
/* rgb */ color: rgb(23, 36, 117);
/* oklch */ color: oklch(31.1% 0.138 269.1);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#172475',
    950: '#000000',
  },
}
SCSS
$custom: #172475;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172475",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 231.702,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31148,
    "c": 0.13826,
    "h": 269.1
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#172475
secondary
#AA9B3D
accent
#D23EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172475

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

Preview Lab → · Contrast checker → · Palette generator →

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