#171269#171269

#171269 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.142 H 273.7°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#171269
RGBrgb(23, 18, 105)
HSLhsl(243, 71%, 24%)
HSVhsv(243, 83%, 41%)
CMYKcmyk(78.1%, 82.9%, 0%, 58.8%)
CIE-LABlab(13.44, 33.18, -49.01)
CIE-LCHlch(13.44, 59.18, 304.10°)
OKLaboklab(26.83% 0.0091 -0.1418)
OKLCHoklch(26.83% 0.142 273.7)
XYZxyz(3.1186, 1.6344, 13.5130)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171269 #646912
analogous
#123969 #171269 #431269
triadic
#171269 #691712 #126917
tetradic
#171269 #691239 #646912 #126943
square
#171269 #691239 #646912 #126943
split-complementary
#171269 #694312 #396912
monochromatic
#06041A #0C0935 #171269 #221B9D #2E24D1

Accessibility & contrast

On white

15.83
#171269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171269
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171269#FFFFFF#000000##FFFFFF
##1712691.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266B
Deuteranopia (green-blind)
#001E67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171269;
/* rgb */ color: rgb(23, 18, 105);
/* oklch */ color: oklch(26.8% 0.142 273.7);
Tailwind
colors: {
  custom: {
    50: '#645295',
    500: '#171269',
    950: '#000000',
  },
}
SCSS
$custom: #171269;
$custom-light: #645295;
$custom-dark: #000000;
JSON
{
  "hex": "#171269",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 243.448,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.26826,
    "c": 0.14206,
    "h": 273.7
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#171269
secondary
#9AA136
accent
#ED3AE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171269

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

Preview Lab → · Contrast checker → · Palette generator →

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