#172064#172064

#172064 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.119 H 270.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#172064
RGBrgb(23, 32, 100)
HSLhsl(233, 63%, 24%)
HSVhsv(233, 77%, 39%)
CMYKcmyk(77%, 68%, 0%, 60.8%)
CIE-LABlab(16.18, 22.22, -41.20)
CIE-LCHlch(16.18, 46.81, 298.35°)
OKLaboklab(28.63% 0.0017 -0.119)
OKLCHoklch(28.63% 0.119 270.8)
XYZxyz(3.1693, 2.1350, 12.2992)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172064 #645B17
analogous
#174764 #172064 #351764
triadic
#172064 #641720 #206417
tetradic
#172064 #641747 #645B17 #176435
square
#172064 #641747 #645B17 #176435
split-complementary
#172064 #643517 #476417
monochromatic
#060819 #0C1032 #172064 #223096 #2E40C8

Accessibility & contrast

On white

14.72
#172064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#172064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172064
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172064#FFFFFF#000000##FFFFFF
##1720641.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172064;
/* rgb */ color: rgb(23, 32, 100);
/* oklch */ color: oklch(28.6% 0.119 270.8);
Tailwind
colors: {
  custom: {
    50: '#615b91',
    500: '#172064',
    950: '#000000',
  },
}
SCSS
$custom: #172064;
$custom-light: #615b91;
$custom-dark: #000000;
JSON
{
  "hex": "#172064",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 232.987,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28628,
    "c": 0.11906,
    "h": 270.8
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#172064
secondary
#9A8F3C
accent
#D342E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172064

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

Preview Lab → · Contrast checker → · Palette generator →

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