#171267#171267

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

Color values

HEX#171267
RGBrgb(23, 18, 103)
HSLhsl(244, 70%, 24%)
HSVhsv(244, 83%, 40%)
CMYKcmyk(77.7%, 82.5%, 0%, 59.6%)
CIE-LABlab(13.19, 32.49, -48.10)
CIE-LCHlch(13.19, 58.04, 304.04°)
OKLaboklab(26.58% 0.0096 -0.1391)
OKLCHoklch(26.58% 0.139 273.9)
XYZxyz(3.0170, 1.5937, 12.9780)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171267 #626712
analogous
#123767 #171267 #411267
triadic
#171267 #671712 #126717
tetradic
#171267 #671237 #626712 #126741
square
#171267 #671237 #626712 #126741
split-complementary
#171267 #674112 #376712
monochromatic
#06051A #0B0933 #171267 #231B9B #2E24CF

Accessibility & contrast

On white

15.92
#171267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171267
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171267#FFFFFF#000000##FFFFFF
##1712671.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171267;
/* rgb */ color: rgb(23, 18, 103);
/* oklch */ color: oklch(26.6% 0.139 273.9);
Tailwind
colors: {
  custom: {
    50: '#635293',
    500: '#171267',
    950: '#000000',
  },
}
SCSS
$custom: #171267;
$custom-light: #635293;
$custom-dark: #000000;
JSON
{
  "hex": "#171267",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 243.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26581,
    "c": 0.13946,
    "h": 273.9
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#171267
secondary
#999F36
accent
#ED3BE3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171267

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

Preview Lab → · Contrast checker → · Palette generator →

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