#172967#172967

#172967 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.111 H 267.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#172967
RGBrgb(23, 41, 103)
HSLhsl(227, 63%, 25%)
HSVhsv(227, 78%, 40%)
CMYKcmyk(77.7%, 60.2%, 0%, 59.6%)
CIE-LABlab(19.00, 16.95, -38.56)
CIE-LCHlch(19.00, 42.13, 293.73°)
OKLaboklab(30.81% -0.0054 -0.1112)
OKLCHoklch(30.81% 0.111 267.2)
XYZxyz(3.5936, 2.7469, 13.1702)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172967 #675517
analogous
#175167 #172967 #2D1767
triadic
#172967 #671729 #296717
tetradic
#172967 #671751 #675517 #17672D
square
#172967 #671751 #675517 #17672D
split-complementary
#172967 #672D17 #516717
monochromatic
#060A19 #0C1535 #172967 #223D99 #2D51CB

Accessibility & contrast

On white

13.55
#172967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172967
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172967#FFFFFF#000000##FFFFFF
##1729671.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172967;
/* rgb */ color: rgb(23, 41, 103);
/* oklch */ color: oklch(30.8% 0.111 267.2);
Tailwind
colors: {
  custom: {
    50: '#616293',
    500: '#172967',
    950: '#000000',
  },
}
SCSS
$custom: #172967;
$custom-light: #616293;
$custom-dark: #000000;
JSON
{
  "hex": "#172967",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 103
  },
  "hsl": {
    "h": 226.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30806,
    "c": 0.11134,
    "h": 267.2
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#172967
secondary
#9D883D
accent
#C141E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #172967

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

Preview Lab → · Contrast checker → · Palette generator →

#172967 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva