#172367#172367

#172367 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.119 H 269.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#172367
RGBrgb(23, 35, 103)
HSLhsl(231, 63%, 25%)
HSVhsv(231, 78%, 40%)
CMYKcmyk(77.7%, 66%, 0%, 59.6%)
CIE-LABlab(17.29, 21.29, -41.36)
CIE-LCHlch(17.29, 46.52, 297.24°)
OKLaboklab(29.53% -0.0007 -0.1195)
OKLCHoklch(29.53% 0.119 269.7)
XYZxyz(3.4017, 2.3631, 13.1062)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172367 #675B17
analogous
#174B67 #172367 #331767
triadic
#172367 #671723 #236717
tetradic
#172367 #67174B #675B17 #176733
square
#172367 #67174B #675B17 #176733
split-complementary
#172367 #673317 #4B6717
monochromatic
#060919 #0C1235 #172367 #223499 #2D45CB

Accessibility & contrast

On white

14.26
#172367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172367
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172367#FFFFFF#000000##FFFFFF
##1723671.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172367;
/* rgb */ color: rgb(23, 35, 103);
/* oklch */ color: oklch(29.5% 0.119 269.7);
Tailwind
colors: {
  custom: {
    50: '#625d93',
    500: '#172367',
    950: '#000000',
  },
}
SCSS
$custom: #172367;
$custom-light: #625d93;
$custom-dark: #000000;
JSON
{
  "hex": "#172367",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 231,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29532,
    "c": 0.11949,
    "h": 269.7
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#172367
secondary
#9D8F3D
accent
#CE41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172367

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

Preview Lab → · Contrast checker → · Palette generator →

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