#1720A0#1720A0

#1720A0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.198 H 268.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1720A0
RGBrgb(23, 32, 160)
HSLhsl(236, 75%, 36%)
HSVhsv(236, 86%, 63%)
CMYKcmyk(85.6%, 80%, 0%, 37.3%)
CIE-LABlab(22.84, 44.29, -68.19)
CIE-LCHlch(22.84, 81.31, 303.01°)
OKLaboklab(35.37% -0.0063 -0.1976)
OKLCHoklch(35.37% 0.198 268.2)
XYZxyz(7.2128, 3.7524, 33.5950)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1720A0 #A09717
analogous
#1764A0 #1720A0 #5217A0
triadic
#1720A0 #A01720 #20A017
tetradic
#1720A0 #A01764 #A09717 #17A052
square
#1720A0 #A01764 #A09717 #17A052
split-complementary
#1720A0 #A05217 #64A017
monochromatic
#080B35 #0F156A #1720A0 #1F2BD6 #4C56E5

Accessibility & contrast

On white

12.00
#1720A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1720A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1720A0
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1720A0#FFFFFF#000000##FFFFFF
##1720A01.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1720a0;
/* rgb */ color: rgb(23, 32, 160);
/* oklch */ color: oklch(35.4% 0.198 268.2);
Tailwind
colors: {
  custom: {
    50: '#725ebd',
    500: '#1720a0',
    950: '#000000',
  },
}
SCSS
$custom: #1720a0;
$custom-light: #725ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1720a0",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 236.058,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35365,
    "c": 0.19768,
    "h": 268.2
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#1720A0
secondary
#C7BF4C
accent
#E536F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1720A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1720A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva