#2715B4#2715B4

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

Color values

HEX#2715B4
RGBrgb(39, 21, 180)
HSLhsl(247, 79%, 39%)
HSVhsv(247, 88%, 71%)
CMYKcmyk(78.3%, 88.3%, 0%, 29.4%)
CIE-LABlab(24.52, 56.08, -77.44)
CIE-LCHlch(24.52, 95.62, 305.91°)
OKLaboklab(37.46% 0.0087 -0.2239)
OKLCHoklch(37.46% 0.224 272.2)
XYZxyz(9.3403, 4.2619, 43.5015)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2715B4 #A2B415
analogous
#1553B4 #2715B4 #7615B4
triadic
#2715B4 #B42715 #15B427
tetradic
#2715B4 #B41553 #A2B415 #15B476
square
#2715B4 #B41553 #A2B415 #15B476
split-complementary
#2715B4 #B47615 #53B415
monochromatic
#0F0846 #1B0F7D #2715B4 #3721E5 #6958EC

Accessibility & contrast

On white

11.34
#2715B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2715B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2715B4
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2715B4#FFFFFF#000000##FFFFFF
##2715B41.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)
#0041B8
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2715b4;
/* rgb */ color: rgb(39, 21, 180);
/* oklch */ color: oklch(37.5% 0.224 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c5bcc',
    500: '#2715b4',
    950: '#000000',
  },
}
SCSS
$custom: #2715b4;
$custom-light: #7c5bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2715b4",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 246.792,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.22405,
    "h": 272.2
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#2715B4
secondary
#C1CF56
accent
#F632DF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2715B4

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

Preview Lab → · Contrast checker → · Palette generator →

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