#171250#171250

#171250 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.108 H 278.0°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#171250
RGBrgb(23, 18, 80)
HSLhsl(245, 63%, 19%)
HSVhsv(245, 78%, 31%)
CMYKcmyk(71.2%, 77.5%, 0%, 68.6%)
CIE-LABlab(10.51, 24.16, -37.04)
CIE-LCHlch(10.51, 44.22, 303.11°)
OKLaboklab(23.89% 0.015 -0.1069)
OKLCHoklch(23.89% 0.108 278)
XYZxyz(2.0172, 1.1938, 7.7120)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171250 #4B5012
analogous
#122C50 #171250 #361250
triadic
#171250 #501712 #125017
tetradic
#171250 #50122C #4B5012 #125036
square
#171250 #50122C #4B5012 #125036
split-complementary
#171250 #503612 #2C5012
monochromatic
#070619 #09071E #171250 #251D82 #3428B4

Accessibility & contrast

On white

16.95
#171250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#171250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171250
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171250#FFFFFF#000000##FFFFFF
##1712501.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171250;
/* rgb */ color: rgb(23, 18, 80);
/* oklch */ color: oklch(23.9% 0.108 278.0);
Tailwind
colors: {
  custom: {
    50: '#5d5082',
    500: '#171250',
    950: '#000000',
  },
}
SCSS
$custom: #171250;
$custom-light: #5d5082;
$custom-dark: #000000;
JSON
{
  "hex": "#171250",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 244.839,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23888,
    "c": 0.10797,
    "h": 278
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#171250
secondary
#828935
accent
#E641D9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #171250

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

Preview Lab → · Contrast checker → · Palette generator →

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