#172E65#172E65

#172E65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.101 H 264.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#172E65
RGBrgb(23, 46, 101)
HSLhsl(222, 63%, 24%)
HSVhsv(222, 77%, 40%)
CMYKcmyk(77.2%, 54.5%, 0%, 60.4%)
CIE-LABlab(20.34, 12.48, -35.08)
CIE-LCHlch(20.34, 37.23, 289.58°)
OKLaboklab(31.77% -0.0101 -0.1009)
OKLCHoklch(31.77% 0.101 264.3)
XYZxyz(3.6785, 3.0753, 12.7091)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E65 #654E17
analogous
#175565 #172E65 #271765
triadic
#172E65 #65172E #2E6517
tetradic
#172E65 #651755 #654E17 #176527
square
#172E65 #651755 #654E17 #176527
split-complementary
#172E65 #652717 #556517
monochromatic
#060B19 #0C1733 #172E65 #224597 #2E5BC9

Accessibility & contrast

On white

13.00
#172E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#172E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E65
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E65#FFFFFF#000000##FFFFFF
##172E651.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172e65;
/* rgb */ color: rgb(23, 46, 101);
/* oklch */ color: oklch(31.8% 0.101 264.3);
Tailwind
colors: {
  custom: {
    50: '#606691',
    500: '#172e65',
    950: '#000000',
  },
}
SCSS
$custom: #172e65;
$custom-light: #606691;
$custom-dark: #000000;
JSON
{
  "hex": "#172e65",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 222.308,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.10137,
    "h": 264.3
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#172E65
secondary
#9B7F3C
accent
#B642E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #172E65

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

Preview Lab → · Contrast checker → · Palette generator →

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