#171452#171452

#171452 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.108 H 276.9°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#171452
RGBrgb(23, 20, 82)
HSLhsl(243, 61%, 20%)
HSVhsv(243, 76%, 32%)
CMYKcmyk(72%, 75.6%, 0%, 67.8%)
CIE-LABlab(11.22, 23.57, -37.25)
CIE-LCHlch(11.22, 44.08, 302.32°)
OKLaboklab(24.46% 0.013 -0.1075)
OKLCHoklch(24.46% 0.108 276.9)
XYZxyz(2.1260, 1.2915, 8.1183)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171452 #4F5214
analogous
#143052 #171452 #361452
triadic
#171452 #521714 #145217
tetradic
#171452 #521430 #4F5214 #145236
square
#171452 #521430 #4F5214 #145236
split-complementary
#171452 #523614 #305214
monochromatic
#070619 #090821 #171452 #252083 #332CB4

Accessibility & contrast

On white

16.69
#171452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#171452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171452
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171452#FFFFFF#000000##FFFFFF
##1714521.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171452;
/* rgb */ color: rgb(23, 20, 82);
/* oklch */ color: oklch(24.5% 0.108 276.9);
Tailwind
colors: {
  custom: {
    50: '#5e5283',
    500: '#171452',
    950: '#000000',
  },
}
SCSS
$custom: #171452;
$custom-light: #5e5283;
$custom-dark: #000000;
JSON
{
  "hex": "#171452",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 242.903,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.24458,
    "c": 0.10834,
    "h": 276.9
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#171452
secondary
#868A38
accent
#E444DC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171452

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

Preview Lab → · Contrast checker → · Palette generator →

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