#171268#171268

#171268 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.141 H 273.8°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#171268
RGBrgb(23, 18, 104)
HSLhsl(243, 70%, 24%)
HSVhsv(243, 83%, 41%)
CMYKcmyk(77.9%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.31, 32.84, -48.55)
CIE-LCHlch(13.31, 58.61, 304.07°)
OKLaboklab(26.7% 0.0094 -0.1404)
OKLCHoklch(26.7% 0.141 273.8)
XYZxyz(3.0675, 1.6139, 13.2439)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171268 #636812
analogous
#123868 #171268 #421268
triadic
#171268 #681712 #126817
tetradic
#171268 #681238 #636812 #126842
square
#171268 #681238 #636812 #126842
split-complementary
#171268 #684212 #386812
monochromatic
#06051A #0B0934 #171268 #231B9C #2E24D0

Accessibility & contrast

On white

15.88
#171268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171268
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171268#FFFFFF#000000##FFFFFF
##1712681.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171268;
/* rgb */ color: rgb(23, 18, 104);
/* oklch */ color: oklch(26.7% 0.141 273.8);
Tailwind
colors: {
  custom: {
    50: '#645294',
    500: '#171268',
    950: '#000000',
  },
}
SCSS
$custom: #171268;
$custom-light: #645294;
$custom-dark: #000000;
JSON
{
  "hex": "#171268",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 243.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.14076,
    "h": 273.8
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#171268
secondary
#9AA036
accent
#ED3BE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171268

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

Preview Lab → · Contrast checker → · Palette generator →

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