#172567#172567

#172567 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.117 H 268.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#172567
RGBrgb(23, 37, 103)
HSLhsl(230, 63%, 25%)
HSVhsv(230, 78%, 40%)
CMYKcmyk(77.7%, 64.1%, 0%, 59.6%)
CIE-LABlab(17.85, 19.85, -40.44)
CIE-LCHlch(17.85, 45.05, 296.15°)
OKLaboklab(29.95% -0.0022 -0.1168)
OKLCHoklch(29.95% 0.117 268.9)
XYZxyz(3.4623, 2.4842, 13.1264)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172567 #675917
analogous
#174D67 #172567 #311767
triadic
#172567 #671725 #256717
tetradic
#172567 #67174D #675917 #176731
square
#172567 #67174D #675917 #176731
split-complementary
#172567 #673117 #4D6717
monochromatic
#060919 #0C1335 #172567 #223799 #2D49CB

Accessibility & contrast

On white

14.03
#172567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172567
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172567#FFFFFF#000000##FFFFFF
##1725671.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172567;
/* rgb */ color: rgb(23, 37, 103);
/* oklch */ color: oklch(29.9% 0.117 268.9);
Tailwind
colors: {
  custom: {
    50: '#615f93',
    500: '#172567',
    950: '#000000',
  },
}
SCSS
$custom: #172567;
$custom-light: #615f93;
$custom-dark: #000000;
JSON
{
  "hex": "#172567",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 103
  },
  "hsl": {
    "h": 229.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29946,
    "c": 0.1168,
    "h": 268.9
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#172567
secondary
#9D8C3D
accent
#CA41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172567

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

Preview Lab → · Contrast checker → · Palette generator →

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