#171865#171865

#171865 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.130 H 273.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#171865
RGBrgb(23, 24, 101)
HSLhsl(239, 63%, 24%)
HSVhsv(239, 77%, 40%)
CMYKcmyk(77.2%, 76.2%, 0%, 60.4%)
CIE-LABlab(14.26, 28.09, -45.02)
CIE-LCHlch(14.26, 53.06, 301.96°)
OKLaboklab(27.27% 0.0069 -0.1302)
OKLCHoklch(27.27% 0.13 273.1)
XYZxyz(3.0282, 1.7747, 12.4924)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171865 #656417
analogous
#173F65 #171865 #3D1765
triadic
#171865 #651718 #186517
tetradic
#171865 #65173F #656417 #17653D
square
#171865 #65173F #656417 #17653D
split-complementary
#171865 #653D17 #3F6517
monochromatic
#060619 #0C0C33 #171865 #222497 #2E30C9

Accessibility & contrast

On white

15.50
#171865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#171865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171865
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171865#FFFFFF#000000##FFFFFF
##1718651.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171865;
/* rgb */ color: rgb(23, 24, 101);
/* oklch */ color: oklch(27.3% 0.130 273.1);
Tailwind
colors: {
  custom: {
    50: '#625592',
    500: '#171865',
    950: '#000000',
  },
}
SCSS
$custom: #171865;
$custom-light: #625592;
$custom-dark: #000000;
JSON
{
  "hex": "#171865",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 239.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.1304,
    "h": 273.1
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#171865
secondary
#9B9A3C
accent
#E442E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171865

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

Preview Lab → · Contrast checker → · Palette generator →

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