#172E69#172E69

#172E69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.107 H 264.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#172E69
RGBrgb(23, 46, 105)
HSLhsl(223, 64%, 25%)
HSVhsv(223, 78%, 41%)
CMYKcmyk(78.1%, 56.2%, 0%, 58.8%)
CIE-LABlab(20.66, 14.15, -37.18)
CIE-LCHlch(20.66, 39.78, 290.83°)
OKLaboklab(32.11% -0.0096 -0.107)
OKLCHoklch(32.11% 0.107 264.9)
XYZxyz(3.8792, 3.1556, 13.7665)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E69 #695217
analogous
#175769 #172E69 #291769
triadic
#172E69 #69172E #2E6917
tetradic
#172E69 #691757 #695217 #176929
square
#172E69 #691757 #695217 #176929
split-complementary
#172E69 #692917 #576917
monochromatic
#050B19 #0C1837 #172E69 #22449B #2D5ACD

Accessibility & contrast

On white

12.87
#172E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E69
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E69#FFFFFF#000000##FFFFFF
##172E691.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172e69;
/* rgb */ color: rgb(23, 46, 105);
/* oklch */ color: oklch(32.1% 0.107 264.9);
Tailwind
colors: {
  custom: {
    50: '#616694',
    500: '#172e69',
    950: '#000000',
  },
}
SCSS
$custom: #172e69;
$custom-light: #616694;
$custom-dark: #000000;
JSON
{
  "hex": "#172e69",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 105
  },
  "hsl": {
    "h": 223.171,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.10747,
    "h": 264.9
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#172E69
secondary
#9F843D
accent
#B841E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #172E69

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

Preview Lab → · Contrast checker → · Palette generator →

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