#172965#172965

#172965 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.108 H 267.1°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#172965
RGBrgb(23, 41, 101)
HSLhsl(226, 63%, 24%)
HSVhsv(226, 77%, 40%)
CMYKcmyk(77.2%, 59.4%, 0%, 60.4%)
CIE-LABlab(18.83, 16.12, -37.53)
CIE-LCHlch(18.83, 40.85, 293.25°)
OKLaboklab(30.63% -0.0056 -0.1082)
OKLCHoklch(30.63% 0.108 267.1)
XYZxyz(3.4944, 2.7073, 12.6478)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172965 #655317
analogous
#175065 #172965 #2C1765
triadic
#172965 #651729 #296517
tetradic
#172965 #651750 #655317 #17652C
square
#172965 #651750 #655317 #17652C
split-complementary
#172965 #652C17 #506517
monochromatic
#060A19 #0C1533 #172965 #223D97 #2E51C9

Accessibility & contrast

On white

13.62
#172965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172965
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172965#FFFFFF#000000##FFFFFF
##1729651.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172965;
/* rgb */ color: rgb(23, 41, 101);
/* oklch */ color: oklch(30.6% 0.108 267.1);
Tailwind
colors: {
  custom: {
    50: '#616291',
    500: '#172965',
    950: '#000000',
  },
}
SCSS
$custom: #172965;
$custom-light: #616291;
$custom-dark: #000000;
JSON
{
  "hex": "#172965",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 226.154,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30626,
    "c": 0.10831,
    "h": 267.1
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#172965
secondary
#9B853C
accent
#C042E6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #172965

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

Preview Lab → · Contrast checker → · Palette generator →

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