#171867#171867

#171867 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.133 H 272.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#171867
RGBrgb(23, 24, 103)
HSLhsl(239, 63%, 25%)
HSVhsv(239, 78%, 40%)
CMYKcmyk(77.7%, 76.7%, 0%, 59.6%)
CIE-LABlab(14.48, 28.83, -45.97)
CIE-LCHlch(14.48, 54.26, 302.10°)
OKLaboklab(27.49% 0.0066 -0.133)
OKLCHoklch(27.49% 0.133 272.8)
XYZxyz(3.1273, 1.8144, 13.0147)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171867 #676617
analogous
#174067 #171867 #3E1767
triadic
#171867 #671718 #186717
tetradic
#171867 #671740 #676617 #17673E
square
#171867 #671740 #676617 #17673E
split-complementary
#171867 #673E17 #406717
monochromatic
#060619 #0C0C35 #171867 #222499 #2D2FCB

Accessibility & contrast

On white

15.41
#171867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171867
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171867#FFFFFF#000000##FFFFFF
##1718671.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171867;
/* rgb */ color: rgb(23, 24, 103);
/* oklch */ color: oklch(27.5% 0.133 272.8);
Tailwind
colors: {
  custom: {
    50: '#635693',
    500: '#171867',
    950: '#000000',
  },
}
SCSS
$custom: #171867;
$custom-light: #635693;
$custom-dark: #000000;
JSON
{
  "hex": "#171867",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 239.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27493,
    "c": 0.13315,
    "h": 272.8
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#171867
secondary
#9D9C3D
accent
#E441E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171867

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

Preview Lab → · Contrast checker → · Palette generator →

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