#172E6F#172E6F

#172E6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.116 H 265.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#172E6F
RGBrgb(23, 46, 111)
HSLhsl(224, 66%, 26%)
HSVhsv(224, 79%, 44%)
CMYKcmyk(79.3%, 58.6%, 0%, 56.5%)
CIE-LABlab(21.14, 16.64, -40.27)
CIE-LCHlch(21.14, 43.57, 292.45°)
OKLaboklab(32.63% -0.0091 -0.1161)
OKLCHoklch(32.63% 0.116 265.5)
XYZxyz(4.1986, 3.2834, 15.4483)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E6F #6F5817
analogous
#175A6F #172E6F #2C176F
triadic
#172E6F #6F172E #2E6F17
tetradic
#172E6F #6F175A #6F5817 #176F2C
square
#172E6F #6F175A #6F5817 #176F2C
split-complementary
#172E6F #6F2C17 #5A6F17
monochromatic
#050B19 #0C193C #172E6F #2243A2 #2D58D3

Accessibility & contrast

On white

12.68
#172E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#172E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E6F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E6F#FFFFFF#000000##FFFFFF
##172E6F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #172e6f;
/* rgb */ color: rgb(23, 46, 111);
/* oklch */ color: oklch(32.6% 0.116 265.5);
Tailwind
colors: {
  custom: {
    50: '#636699',
    500: '#172e6f',
    950: '#000000',
  },
}
SCSS
$custom: #172e6f;
$custom-light: #636699;
$custom-dark: #000000;
JSON
{
  "hex": "#172e6f",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 224.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32629,
    "c": 0.11649,
    "h": 265.5
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#172E6F
secondary
#A58A3D
accent
#BC3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #172E6F

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

Preview Lab → · Contrast checker → · Palette generator →

#172E6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva