#172467#172467

#172467 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.118 H 269.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#172467
RGBrgb(23, 36, 103)
HSLhsl(230, 63%, 25%)
HSVhsv(230, 78%, 40%)
CMYKcmyk(77.7%, 65%, 0%, 59.6%)
CIE-LABlab(17.57, 20.58, -40.90)
CIE-LCHlch(17.57, 45.79, 296.70°)
OKLaboklab(29.74% -0.0014 -0.1181)
OKLCHoklch(29.74% 0.118 269.3)
XYZxyz(3.4316, 2.4228, 13.1161)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172467 #675A17
analogous
#174C67 #172467 #321767
triadic
#172467 #671724 #246717
tetradic
#172467 #67174C #675A17 #176732
square
#172467 #67174C #675A17 #176732
split-complementary
#172467 #673217 #4C6717
monochromatic
#060919 #0C1335 #172467 #223599 #2D47CB

Accessibility & contrast

On white

14.15
#172467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172467
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172467#FFFFFF#000000##FFFFFF
##1724671.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172467;
/* rgb */ color: rgb(23, 36, 103);
/* oklch */ color: oklch(29.7% 0.118 269.3);
Tailwind
colors: {
  custom: {
    50: '#615e93',
    500: '#172467',
    950: '#000000',
  },
}
SCSS
$custom: #172467;
$custom-light: #615e93;
$custom-dark: #000000;
JSON
{
  "hex": "#172467",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 230.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29737,
    "c": 0.11815,
    "h": 269.3
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#172467
secondary
#9D8E3D
accent
#CC41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172467

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

Preview Lab → · Contrast checker → · Palette generator →

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