#172565#172565

#172565 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.8% C 0.114 H 268.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#172565
RGBrgb(23, 37, 101)
HSLhsl(229, 63%, 24%)
HSVhsv(229, 77%, 40%)
CMYKcmyk(77.2%, 63.4%, 0%, 60.4%)
CIE-LABlab(17.67, 19.04, -39.43)
CIE-LCHlch(17.67, 43.78, 295.77°)
OKLaboklab(29.76% -0.0022 -0.1138)
OKLCHoklch(29.76% 0.114 268.9)
XYZxyz(3.3631, 2.4445, 12.6040)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172565 #655717
analogous
#174C65 #172565 #301765
triadic
#172565 #651725 #256517
tetradic
#172565 #65174C #655717 #176530
square
#172565 #65174C #655717 #176530
split-complementary
#172565 #653017 #4C6517
monochromatic
#060919 #0C1333 #172565 #223797 #2E4AC9

Accessibility & contrast

On white

14.10
#172565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172565
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172565#FFFFFF#000000##FFFFFF
##1725651.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172565;
/* rgb */ color: rgb(23, 37, 101);
/* oklch */ color: oklch(29.8% 0.114 268.9);
Tailwind
colors: {
  custom: {
    50: '#615f91',
    500: '#172565',
    950: '#000000',
  },
}
SCSS
$custom: #172565;
$custom-light: #615f91;
$custom-dark: #000000;
JSON
{
  "hex": "#172565",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 229.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.11382,
    "h": 268.9
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#172565
secondary
#9B8A3C
accent
#C842E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172565

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

Preview Lab → · Contrast checker → · Palette generator →

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