#172B67#172B67

#172B67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.109 H 266.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#172B67
RGBrgb(23, 43, 103)
HSLhsl(225, 63%, 25%)
HSVhsv(225, 78%, 40%)
CMYKcmyk(77.7%, 58.3%, 0%, 59.6%)
CIE-LABlab(19.59, 15.50, -37.60)
CIE-LCHlch(19.59, 40.67, 292.40°)
OKLaboklab(31.25% -0.0072 -0.1083)
OKLCHoklch(31.25% 0.109 266.2)
XYZxyz(3.6646, 2.8888, 13.1938)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B67 #675317
analogous
#175367 #172B67 #2B1767
triadic
#172B67 #67172B #2B6717
tetradic
#172B67 #671753 #675317 #17672B
square
#172B67 #671753 #675317 #17672B
split-complementary
#172B67 #672B17 #536717
monochromatic
#060A19 #0C1635 #172B67 #224099 #2D55CB

Accessibility & contrast

On white

13.31
#172B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B67
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B67#FFFFFF#000000##FFFFFF
##172B671.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172b67;
/* rgb */ color: rgb(23, 43, 103);
/* oklch */ color: oklch(31.3% 0.109 266.2);
Tailwind
colors: {
  custom: {
    50: '#616393',
    500: '#172b67',
    950: '#000000',
  },
}
SCSS
$custom: #172b67;
$custom-light: #616393;
$custom-dark: #000000;
JSON
{
  "hex": "#172b67",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 225,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.10858,
    "h": 266.2
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#172B67
secondary
#9D853D
accent
#BD41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #172B67

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

Preview Lab → · Contrast checker → · Palette generator →

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