#2017A1#2017A1

#2017A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.9% C 0.203 H 271.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2017A1
RGBrgb(32, 23, 161)
HSLhsl(244, 75%, 36%)
HSVhsv(244, 86%, 63%)
CMYKcmyk(80.1%, 85.7%, 0%, 36.9%)
CIE-LABlab(21.92, 49.42, -70.31)
CIE-LCHlch(21.92, 85.94, 305.10°)
OKLaboklab(34.88% 0.0048 -0.2034)
OKLCHoklch(34.88% 0.203 271.3)
XYZxyz(7.3329, 3.4923, 33.9989)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2017A1 #98A117
analogous
#1753A1 #2017A1 #6517A1
triadic
#2017A1 #A12017 #17A120
tetradic
#2017A1 #A11753 #98A117 #17A165
square
#2017A1 #A11753 #98A117 #17A165
split-complementary
#2017A1 #A16517 #53A117
monochromatic
#0B0836 #150F6B #2017A1 #2B1FD7 #574DE6

Accessibility & contrast

On white

12.36
#2017A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2017A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2017A1
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2017A1#FFFFFF#000000##FFFFFF
##2017A11.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2017a1;
/* rgb */ color: rgb(32, 23, 161);
/* oklch */ color: oklch(34.9% 0.203 271.3);
Tailwind
colors: {
  custom: {
    50: '#755abe',
    500: '#2017a1',
    950: '#000000',
  },
}
SCSS
$custom: #2017a1;
$custom-light: #755abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2017a1",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 243.913,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34883,
    "c": 0.20347,
    "h": 271.3
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#2017A1
secondary
#BFC74C
accent
#F236E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2017A1

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

Preview Lab → · Contrast checker → · Palette generator →

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