#2716AB#2716AB

#2716AB is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.4% C 0.214 H 273.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2716AB
RGBrgb(39, 22, 171)
HSLhsl(247, 77%, 38%)
HSVhsv(247, 87%, 67%)
CMYKcmyk(77.2%, 87.1%, 0%, 32.9%)
CIE-LABlab(23.49, 53.15, -73.75)
CIE-LCHlch(23.49, 90.91, 305.78°)
OKLaboklab(36.44% 0.0111 -0.2132)
OKLCHoklch(36.44% 0.214 273)
XYZxyz(8.4718, 3.9445, 38.8351)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2716AB #9AAB16
analogous
#164FAB #2716AB #7216AB
triadic
#2716AB #AB2716 #16AB27
tetradic
#2716AB #AB164F #9AAB16 #16AB72
square
#2716AB #AB164F #9AAB16 #16AB72
split-complementary
#2716AB #AB7216 #4FAB16
monochromatic
#0E083F #1B0F75 #2716AB #331DE1 #6453E9

Accessibility & contrast

On white

11.74
#2716AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2716AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2716AB
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2716AB#FFFFFF#000000##FFFFFF
##2716AB1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAF
Deuteranopia (green-blind)
#0031A9
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2716ab;
/* rgb */ color: rgb(39, 22, 171);
/* oklch */ color: oklch(36.4% 0.214 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a5bc6',
    500: '#2716ab',
    950: '#000000',
  },
}
SCSS
$custom: #2716ab;
$custom-light: #7a5bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2716ab",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 171
  },
  "hsl": {
    "h": 246.846,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36436,
    "c": 0.21352,
    "h": 273
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#2716AB
secondary
#BDCB52
accent
#F434DE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2716AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2716AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva