#2716B4#2716B4

#2716B4 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.5% C 0.223 H 272.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2716B4
RGBrgb(39, 22, 180)
HSLhsl(246, 78%, 40%)
HSVhsv(246, 88%, 71%)
CMYKcmyk(78.3%, 87.8%, 0%, 29.4%)
CIE-LABlab(24.64, 55.73, -77.25)
CIE-LCHlch(24.64, 95.25, 305.81°)
OKLaboklab(37.55% 0.0085 -0.2233)
OKLCHoklch(37.55% 0.223 272.2)
XYZxyz(9.3591, 4.2994, 43.5078)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2716B4 #A3B416
analogous
#1654B4 #2716B4 #7616B4
triadic
#2716B4 #B42716 #16B427
tetradic
#2716B4 #B41654 #A3B416 #16B476
square
#2716B4 #B41654 #A3B416 #16B476
split-complementary
#2716B4 #B47616 #54B416
monochromatic
#0F0947 #1B0F7D #2716B4 #3823E4 #695AEB

Accessibility & contrast

On white

11.29
#2716B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2716B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2716B4
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2716B4#FFFFFF#000000##FFFFFF
##2716B41.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2716b4;
/* rgb */ color: rgb(39, 22, 180);
/* oklch */ color: oklch(37.5% 0.223 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c5bcc',
    500: '#2716b4',
    950: '#000000',
  },
}
SCSS
$custom: #2716b4;
$custom-light: #7c5bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2716b4",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 246.456,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37545,
    "c": 0.22349,
    "h": 272.2
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#2716B4
secondary
#C1CE58
accent
#F533E0
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2716B4

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

Preview Lab → · Contrast checker → · Palette generator →

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