#172065#172065

#172065 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.7% C 0.121 H 270.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#172065
RGBrgb(23, 32, 101)
HSLhsl(233, 63%, 24%)
HSVhsv(233, 77%, 40%)
CMYKcmyk(77.2%, 68.3%, 0%, 60.4%)
CIE-LABlab(16.28, 22.63, -41.70)
CIE-LCHlch(16.28, 47.44, 298.49°)
OKLaboklab(28.73% 0.0017 -0.1205)
OKLCHoklch(28.73% 0.121 270.8)
XYZxyz(3.2180, 2.1544, 12.5556)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172065 #655C17
analogous
#174765 #172065 #351765
triadic
#172065 #651720 #206517
tetradic
#172065 #651747 #655C17 #176535
square
#172065 #651747 #655C17 #176535
split-complementary
#172065 #653517 #476517
monochromatic
#060819 #0C1033 #172065 #223097 #2E40C9

Accessibility & contrast

On white

14.68
#172065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172065
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172065#FFFFFF#000000##FFFFFF
##1720651.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172065;
/* rgb */ color: rgb(23, 32, 101);
/* oklch */ color: oklch(28.7% 0.121 270.8);
Tailwind
colors: {
  custom: {
    50: '#615b92',
    500: '#172065',
    950: '#000000',
  },
}
SCSS
$custom: #172065;
$custom-light: #615b92;
$custom-dark: #000000;
JSON
{
  "hex": "#172065",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 233.077,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28729,
    "c": 0.12052,
    "h": 270.8
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #172065

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

Preview Lab → · Contrast checker → · Palette generator →

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