#172E6D#172E6D

#172E6D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.114 H 265.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#172E6D
RGBrgb(23, 46, 109)
HSLhsl(224, 65%, 26%)
HSVhsv(224, 79%, 43%)
CMYKcmyk(78.9%, 57.8%, 0%, 57.3%)
CIE-LABlab(20.98, 15.81, -39.25)
CIE-LCHlch(20.98, 42.31, 291.94°)
OKLaboklab(32.45% -0.0093 -0.1131)
OKLCHoklch(32.45% 0.114 265.3)
XYZxyz(4.0897, 3.2398, 14.8748)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E6D #6D5617
analogous
#17596D #172E6D #2B176D
triadic
#172E6D #6D172E #2E6D17
tetradic
#172E6D #6D1759 #6D5617 #176D2B
square
#172E6D #6D1759 #6D5617 #176D2B
split-complementary
#172E6D #6D2B17 #596D17
monochromatic
#050B19 #0C193A #172E6D #2243A0 #2C59D2

Accessibility & contrast

On white

12.74
#172E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#172E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E6D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E6D#FFFFFF#000000##FFFFFF
##172E6D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172e6d;
/* rgb */ color: rgb(23, 46, 109);
/* oklch */ color: oklch(32.5% 0.114 265.3);
Tailwind
colors: {
  custom: {
    50: '#626697',
    500: '#172e6d',
    950: '#000000',
  },
}
SCSS
$custom: #172e6d;
$custom-light: #626697;
$custom-dark: #000000;
JSON
{
  "hex": "#172e6d",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 223.953,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.11351,
    "h": 265.3
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#172E6D
secondary
#A3883D
accent
#BB40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #172E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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