#2715A0#2715A0

#2715A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.0% C 0.202 H 274.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2715A0
RGBrgb(39, 21, 160)
HSLhsl(248, 77%, 35%)
HSVhsv(248, 87%, 63%)
CMYKcmyk(75.6%, 86.9%, 0%, 37.3%)
CIE-LABlab(21.96, 50.33, -69.61)
CIE-LCHlch(21.96, 85.90, 305.87°)
OKLaboklab(35% 0.0146 -0.2012)
OKLCHoklch(35% 0.202 274.1)
XYZxyz(7.4479, 3.5050, 33.5349)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2715A0 #8EA015
analogous
#1548A0 #2715A0 #6C15A0
triadic
#2715A0 #A02715 #15A027
tetradic
#2715A0 #A01548 #8EA015 #15A06C
square
#2715A0 #A01548 #8EA015 #15A06C
split-complementary
#2715A0 #A06C15 #48A015
monochromatic
#0D0734 #1A0E6A #2715A0 #341CD6 #5D48E7

Accessibility & contrast

On white

12.34
#2715A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2715A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2715A0
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2715A0#FFFFFF#000000##FFFFFF
##2715A01.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2715a0;
/* rgb */ color: rgb(39, 21, 160);
/* oklch */ color: oklch(35.0% 0.202 274.1);
Tailwind
colors: {
  custom: {
    50: '#7759be',
    500: '#2715a0',
    950: '#000000',
  },
}
SCSS
$custom: #2715a0;
$custom-light: #7759be;
$custom-dark: #000000;
JSON
{
  "hex": "#2715a0",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 247.77,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34998,
    "c": 0.20175,
    "h": 274.1
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#2715A0
secondary
#B8C849
accent
#F334DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2715A0

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

Preview Lab → · Contrast checker → · Palette generator →

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