#171264#171264

#171264 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.136 H 274.4°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#171264
RGBrgb(23, 18, 100)
HSLhsl(244, 69%, 23%)
HSVhsv(244, 82%, 39%)
CMYKcmyk(77%, 82%, 0%, 60.8%)
CIE-LABlab(12.83, 31.43, -46.72)
CIE-LCHlch(12.83, 56.31, 303.93°)
OKLaboklab(26.22% 0.0104 -0.1351)
OKLCHoklch(26.22% 0.136 274.4)
XYZxyz(2.8691, 1.5346, 12.1991)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171264 #5F6412
analogous
#123664 #171264 #401264
triadic
#171264 #641712 #126417
tetradic
#171264 #641236 #5F6412 #126440
square
#171264 #641236 #5F6412 #126440
split-complementary
#171264 #644012 #366412
monochromatic
#06051A #0B0930 #171264 #231B98 #2F25CC

Accessibility & contrast

On white

16.07
#171264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171264
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171264#FFFFFF#000000##FFFFFF
##1712641.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001D63
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171264;
/* rgb */ color: rgb(23, 18, 100);
/* oklch */ color: oklch(26.2% 0.136 274.4);
Tailwind
colors: {
  custom: {
    50: '#635291',
    500: '#171264',
    950: '#000000',
  },
}
SCSS
$custom: #171264;
$custom-light: #635291;
$custom-dark: #000000;
JSON
{
  "hex": "#171264",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 243.659,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26217,
    "c": 0.13552,
    "h": 274.4
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#171264
secondary
#969C36
accent
#EC3BE2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171264

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

Preview Lab → · Contrast checker → · Palette generator →

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