#172E67#172E67

#172E67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.104 H 264.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#172E67
RGBrgb(23, 46, 103)
HSLhsl(223, 63%, 25%)
HSVhsv(223, 78%, 40%)
CMYKcmyk(77.7%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.50, 13.31, -36.13)
CIE-LCHlch(20.50, 38.51, 290.22°)
OKLaboklab(31.94% -0.0098 -0.104)
OKLCHoklch(31.94% 0.104 264.6)
XYZxyz(3.7777, 3.1150, 13.2315)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E67 #675017
analogous
#175667 #172E67 #281767
triadic
#172E67 #67172E #2E6717
tetradic
#172E67 #671756 #675017 #176728
square
#172E67 #671756 #675017 #176728
split-complementary
#172E67 #672817 #566717
monochromatic
#060B19 #0C1835 #172E67 #224499 #2D5BCB

Accessibility & contrast

On white

12.94
#172E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E67
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E67#FFFFFF#000000##FFFFFF
##172E671.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073569
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172e67;
/* rgb */ color: rgb(23, 46, 103);
/* oklch */ color: oklch(31.9% 0.104 264.6);
Tailwind
colors: {
  custom: {
    50: '#616693',
    500: '#172e67',
    950: '#000000',
  },
}
SCSS
$custom: #172e67;
$custom-light: #616693;
$custom-dark: #000000;
JSON
{
  "hex": "#172e67",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 222.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31937,
    "c": 0.10443,
    "h": 264.6
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#172E67
secondary
#9D813D
accent
#B741E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #172E67

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

Preview Lab → · Contrast checker → · Palette generator →

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