#2717A0#2717A0

#2717A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.200 H 274.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2717A0
RGBrgb(39, 23, 160)
HSLhsl(247, 75%, 36%)
HSVhsv(247, 86%, 63%)
CMYKcmyk(75.6%, 85.6%, 0%, 37.3%)
CIE-LABlab(22.24, 49.52, -69.16)
CIE-LCHlch(22.24, 85.06, 305.60°)
OKLaboklab(35.19% 0.0141 -0.1999)
OKLCHoklch(35.19% 0.2 274)
XYZxyz(7.4862, 3.5814, 33.5476)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2717A0 #90A017
analogous
#174CA0 #2717A0 #6B17A0
triadic
#2717A0 #A02717 #17A027
tetradic
#2717A0 #A0174C #90A017 #17A06B
square
#2717A0 #A0174C #90A017 #17A06B
split-complementary
#2717A0 #A06B17 #4CA017
monochromatic
#0D0835 #1A0F6A #2717A0 #341FD6 #5E4CE5

Accessibility & contrast

On white

12.23
#2717A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2717A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2717A0
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2717A0#FFFFFF#000000##FFFFFF
##2717A01.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2717a0;
/* rgb */ color: rgb(39, 23, 160);
/* oklch */ color: oklch(35.2% 0.200 274.0);
Tailwind
colors: {
  custom: {
    50: '#775abe',
    500: '#2717a0',
    950: '#000000',
  },
}
SCSS
$custom: #2717a0;
$custom-light: #775abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2717a0",
  "rgb": {
    "r": 39,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 247.007,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.20044,
    "h": 274
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#2717A0
secondary
#B9C74C
accent
#F136DC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2717A0

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

Preview Lab → · Contrast checker → · Palette generator →

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