#1712A1#1712A1

#1712A1 is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.209 H 268.7°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1712A1
RGBrgb(23, 18, 161)
HSLhsl(242, 80%, 35%)
HSVhsv(242, 89%, 63%)
CMYKcmyk(85.7%, 88.8%, 0%, 36.9%)
CIE-LABlab(20.78, 51.06, -72.22)
CIE-LCHlch(20.78, 88.45, 305.26°)
OKLaboklab(33.98% -0.0046 -0.2089)
OKLCHoklch(33.98% 0.209 268.7)
XYZxyz(7.0005, 3.1871, 33.9575)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1712A1 #9CA112
analogous
#1254A1 #1712A1 #5F12A1
triadic
#1712A1 #A11712 #12A117
tetradic
#1712A1 #A11254 #9CA112 #12A15F
square
#1712A1 #A11254 #9CA112 #12A15F
split-complementary
#1712A1 #A15F12 #54A112
monochromatic
#070633 #0F0C6A #1712A1 #1F18D8 #4943EA

Accessibility & contrast

On white

12.82
#1712A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1712A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1712A1
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1712A1#FFFFFF#000000##FFFFFF
##1712A11.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A5
Deuteranopia (green-blind)
#002A9F
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1712a1;
/* rgb */ color: rgb(23, 18, 161);
/* oklch */ color: oklch(34.0% 0.209 268.7);
Tailwind
colors: {
  custom: {
    50: '#7357be',
    500: '#1712a1',
    950: '#000000',
  },
}
SCSS
$custom: #1712a1;
$custom-light: #7357be;
$custom-dark: #000000;
JSON
{
  "hex": "#1712a1",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 161
  },
  "hsl": {
    "h": 242.098,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.20898,
    "h": 268.7
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#1712A1
secondary
#C6CA45
accent
#F631EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1712A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1712A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva