#171467#171467

#171467 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.137 H 273.6°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#171467
RGBrgb(23, 20, 103)
HSLhsl(242, 67%, 24%)
HSVhsv(242, 81%, 40%)
CMYKcmyk(77.7%, 80.6%, 0%, 59.6%)
CIE-LABlab(13.60, 31.32, -47.42)
CIE-LCHlch(13.60, 56.83, 303.44°)
OKLaboklab(26.87% 0.0087 -0.1372)
OKLCHoklch(26.87% 0.137 273.6)
XYZxyz(3.0509, 1.6614, 12.9892)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171467 #646714
analogous
#143B67 #171467 #411467
triadic
#171467 #671714 #146717
tetradic
#171467 #67143B #646714 #146741
square
#171467 #67143B #646714 #146741
split-complementary
#171467 #674114 #3B6714
monochromatic
#06051A #0C0A34 #171467 #221E9A #2E28CD

Accessibility & contrast

On white

15.76
#171467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#171467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171467
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171467#FFFFFF#000000##FFFFFF
##1714671.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171467;
/* rgb */ color: rgb(23, 20, 103);
/* oklch */ color: oklch(26.9% 0.137 273.6);
Tailwind
colors: {
  custom: {
    50: '#635393',
    500: '#171467',
    950: '#000000',
  },
}
SCSS
$custom: #171467;
$custom-light: #635393;
$custom-dark: #000000;
JSON
{
  "hex": "#171467",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 242.169,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.26868,
    "c": 0.13747,
    "h": 273.6
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#171467
secondary
#9A9E39
accent
#EA3DE4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171467

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

Preview Lab → · Contrast checker → · Palette generator →

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