#171468#171468

#171468 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.139 H 273.5°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#171468
RGBrgb(23, 20, 104)
HSLhsl(242, 68%, 24%)
HSVhsv(242, 81%, 41%)
CMYKcmyk(77.9%, 80.8%, 0%, 59.2%)
CIE-LABlab(13.72, 31.68, -47.88)
CIE-LCHlch(13.72, 57.41, 303.49°)
OKLaboklab(26.99% 0.0084 -0.1385)
OKLCHoklch(26.99% 0.139 273.5)
XYZxyz(3.1014, 1.6816, 13.2552)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171468 #656814
analogous
#143B68 #171468 #411468
triadic
#171468 #681714 #146817
tetradic
#171468 #68143B #656814 #146841
square
#171468 #68143B #656814 #146841
split-complementary
#171468 #684114 #3B6814
monochromatic
#06051A #0C0A35 #171468 #221E9B #2E28CF

Accessibility & contrast

On white

15.71
#171468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171468
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171468#FFFFFF#000000##FFFFFF
##1714681.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171468;
/* rgb */ color: rgb(23, 20, 104);
/* oklch */ color: oklch(27.0% 0.139 273.5);
Tailwind
colors: {
  custom: {
    50: '#635394',
    500: '#171468',
    950: '#000000',
  },
}
SCSS
$custom: #171468;
$custom-light: #635394;
$custom-dark: #000000;
JSON
{
  "hex": "#171468",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 242.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.26987,
    "c": 0.1388,
    "h": 273.5
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#171468
secondary
#9B9F39
accent
#EB3DE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171468

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

Preview Lab → · Contrast checker → · Palette generator →

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