#2715B3#2715B3

#2715B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.3% C 0.223 H 272.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2715B3
RGBrgb(39, 21, 179)
HSLhsl(247, 79%, 39%)
HSVhsv(247, 88%, 70%)
CMYKcmyk(78.2%, 88.3%, 0%, 29.8%)
CIE-LABlab(24.39, 55.80, -77.06)
CIE-LCHlch(24.39, 95.14, 305.91°)
OKLaboklab(37.34% 0.009 -0.2228)
OKLCHoklch(37.34% 0.223 272.3)
XYZxyz(9.2388, 4.2213, 42.9670)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2715B3 #A1B315
analogous
#1552B3 #2715B3 #7615B3
triadic
#2715B3 #B32715 #15B327
tetradic
#2715B3 #B31552 #A1B315 #15B376
square
#2715B3 #B31552 #A1B315 #15B376
split-complementary
#2715B3 #B37615 #52B315
monochromatic
#0F0845 #1B0F7C #2715B3 #3720E5 #6857EB

Accessibility & contrast

On white

11.39
#2715B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2715B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2715B3
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2715B3#FFFFFF#000000##FFFFFF
##2715B31.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.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: #2715b3;
/* rgb */ color: rgb(39, 21, 179);
/* oklch */ color: oklch(37.3% 0.223 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c5bcb',
    500: '#2715b3',
    950: '#000000',
  },
}
SCSS
$custom: #2715b3;
$custom-light: #7c5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2715b3",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 179
  },
  "hsl": {
    "h": 246.835,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3734,
    "c": 0.22295,
    "h": 272.3
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#2715B3
secondary
#C0CE56
accent
#F532DF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2715B3

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

Preview Lab → · Contrast checker → · Palette generator →

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