#171465#171465

#171465 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.135 H 273.9°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#171465
RGBrgb(23, 20, 101)
HSLhsl(242, 67%, 24%)
HSVhsv(242, 80%, 40%)
CMYKcmyk(77.2%, 80.2%, 0%, 60.4%)
CIE-LABlab(13.36, 30.60, -46.49)
CIE-LCHlch(13.36, 55.66, 303.35°)
OKLaboklab(26.63% 0.0091 -0.1345)
OKLCHoklch(26.63% 0.135 273.9)
XYZxyz(2.9517, 1.6218, 12.4669)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171465 #626514
analogous
#143965 #171465 #3F1465
triadic
#171465 #651714 #146517
tetradic
#171465 #651439 #626514 #14653F
square
#171465 #651439 #626514 #14653F
split-complementary
#171465 #653F14 #396514
monochromatic
#06051A #0B0A32 #171465 #231E98 #2E28CB

Accessibility & contrast

On white

15.86
#171465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171465
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171465#FFFFFF#000000##FFFFFF
##1714651.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171465;
/* rgb */ color: rgb(23, 20, 101);
/* oklch */ color: oklch(26.6% 0.135 273.9);
Tailwind
colors: {
  custom: {
    50: '#635392',
    500: '#171465',
    950: '#000000',
  },
}
SCSS
$custom: #171465;
$custom-light: #635392;
$custom-dark: #000000;
JSON
{
  "hex": "#171465",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 242.222,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2663,
    "c": 0.13481,
    "h": 273.9
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#171465
secondary
#999C39
accent
#EA3EE3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171465

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

Preview Lab → · Contrast checker → · Palette generator →

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