#172465#172465

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

Color values

HEX#172465
RGBrgb(23, 36, 101)
HSLhsl(230, 63%, 24%)
HSVhsv(230, 77%, 40%)
CMYKcmyk(77.2%, 64.4%, 0%, 60.4%)
CIE-LABlab(17.38, 19.76, -39.89)
CIE-LCHlch(17.38, 44.52, 296.35°)
OKLaboklab(29.54% -0.0014 -0.1152)
OKLCHoklch(29.54% 0.115 269.3)
XYZxyz(3.3324, 2.3831, 12.5938)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172465 #655817
analogous
#174B65 #172465 #311765
triadic
#172465 #651724 #246517
tetradic
#172465 #65174B #655817 #176531
square
#172465 #65174B #655817 #176531
split-complementary
#172465 #653117 #4B6517
monochromatic
#060919 #0C1233 #172465 #223697 #2E48C9

Accessibility & contrast

On white

14.22
#172465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172465
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172465#FFFFFF#000000##FFFFFF
##1724651.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172465;
/* rgb */ color: rgb(23, 36, 101);
/* oklch */ color: oklch(29.5% 0.115 269.3);
Tailwind
colors: {
  custom: {
    50: '#615e92',
    500: '#172465',
    950: '#000000',
  },
}
SCSS
$custom: #172465;
$custom-light: #615e92;
$custom-dark: #000000;
JSON
{
  "hex": "#172465",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 230,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29544,
    "c": 0.11518,
    "h": 269.3
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#172465
secondary
#9B8C3C
accent
#CB42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172465

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

Preview Lab → · Contrast checker → · Palette generator →

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