#172964#172964

#172964 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.107 H 267.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#172964
RGBrgb(23, 41, 100)
HSLhsl(226, 63%, 24%)
HSVhsv(226, 77%, 39%)
CMYKcmyk(77%, 59%, 0%, 60.8%)
CIE-LABlab(18.75, 15.71, -37.01)
CIE-LCHlch(18.75, 40.21, 293.00°)
OKLaboklab(30.54% -0.0056 -0.1066)
OKLCHoklch(30.54% 0.107 267)
XYZxyz(3.4457, 2.6878, 12.3913)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172964 #645217
analogous
#175064 #172964 #2C1764
triadic
#172964 #641729 #296417
tetradic
#172964 #641750 #645217 #17642C
square
#172964 #641750 #645217 #17642C
split-complementary
#172964 #642C17 #506417
monochromatic
#060A19 #0C1532 #172964 #223D96 #2E52C8

Accessibility & contrast

On white

13.66
#172964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172964
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172964#FFFFFF#000000##FFFFFF
##1729641.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172964;
/* rgb */ color: rgb(23, 41, 100);
/* oklch */ color: oklch(30.5% 0.107 267.0);
Tailwind
colors: {
  custom: {
    50: '#606291',
    500: '#172964',
    950: '#000000',
  },
}
SCSS
$custom: #172964;
$custom-light: #606291;
$custom-dark: #000000;
JSON
{
  "hex": "#172964",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 225.974,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30536,
    "c": 0.10679,
    "h": 267
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#172964
secondary
#9A843C
accent
#BF42E6
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #172964

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

Preview Lab → · Contrast checker → · Palette generator →

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