#2716B3#2716B3

#2716B3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.222 H 272.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2716B3
RGBrgb(39, 22, 179)
HSLhsl(246, 78%, 39%)
HSVhsv(246, 88%, 70%)
CMYKcmyk(78.2%, 87.7%, 0%, 29.8%)
CIE-LABlab(24.51, 55.44, -76.86)
CIE-LCHlch(24.51, 94.77, 305.80°)
OKLaboklab(37.42% 0.0088 -0.2222)
OKLCHoklch(37.42% 0.222 272.3)
XYZxyz(9.2576, 4.2588, 42.9732)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2716B3 #A2B316
analogous
#1654B3 #2716B3 #7616B3
triadic
#2716B3 #B32716 #16B327
tetradic
#2716B3 #B31654 #A2B316 #16B376
square
#2716B3 #B31654 #A2B316 #16B376
split-complementary
#2716B3 #B37616 #54B316
monochromatic
#0F0946 #1B0F7C #2716B3 #3722E4 #6959EB

Accessibility & contrast

On white

11.34
#2716B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2716B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2716B3
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2716B3#FFFFFF#000000##FFFFFF
##2716B31.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0032B0
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2716b3;
/* rgb */ color: rgb(39, 22, 179);
/* oklch */ color: oklch(37.4% 0.222 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c5bcb',
    500: '#2716b3',
    950: '#000000',
  },
}
SCSS
$custom: #2716b3;
$custom-light: #7c5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2716b3",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 246.497,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.22239,
    "h": 272.3
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2716B3

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

Preview Lab → · Contrast checker → · Palette generator →

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