#172675#172675

#172675 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.136 H 268.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#172675
RGBrgb(23, 38, 117)
HSLhsl(230, 67%, 27%)
HSVhsv(230, 80%, 46%)
CMYKcmyk(80.3%, 67.5%, 0%, 54.1%)
CIE-LABlab(19.44, 24.79, -46.91)
CIE-LCHlch(19.44, 53.05, 297.85°)
OKLaboklab(31.53% -0.0033 -0.1357)
OKLCHoklch(31.53% 0.136 268.6)
XYZxyz(4.2562, 2.8523, 17.1524)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172675 #756617
analogous
#175575 #172675 #371775
triadic
#172675 #751726 #267517
tetradic
#172675 #751755 #756617 #177537
square
#172675 #751755 #756617 #177537
split-complementary
#172675 #753717 #557517
monochromatic
#05081A #0D1542 #172675 #2137A8 #304BD6

Accessibility & contrast

On white

13.37
#172675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#172675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172675
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172675#FFFFFF#000000##FFFFFF
##1726751.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172675;
/* rgb */ color: rgb(23, 38, 117);
/* oklch */ color: oklch(31.5% 0.136 268.6);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#172675',
    950: '#000000',
  },
}
SCSS
$custom: #172675;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#172675",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 230.426,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.13576,
    "h": 268.6
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#172675
secondary
#AA993D
accent
#CF3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172675

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

Preview Lab → · Contrast checker → · Palette generator →

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