#2715E2#2715E2

#2715E2 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 43.2% C 0.273 H 269.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2715E2
RGBrgb(39, 21, 226)
HSLhsl(245, 83%, 48%)
HSVhsv(245, 91%, 89%)
CMYKcmyk(82.7%, 90.7%, 0%, 11.4%)
CIE-LABlab(30.54, 68.57, -94.33)
CIE-LCHlch(30.54, 116.62, 306.01°)
OKLaboklab(43.22% -0.0032 -0.2727)
OKLCHoklch(43.22% 0.273 269.3)
XYZxyz(14.8277, 6.4569, 72.4016)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2715E2 #D0E215
analogous
#156AE2 #2715E2 #8D15E2
triadic
#2715E2 #E22715 #15E227
tetradic
#2715E2 #E2156A #D0E215 #15E28D
square
#2715E2 #E2156A #D0E215 #15E28D
split-complementary
#2715E2 #E28D15 #6AE215
monochromatic
#140B72 #1D10AA #2715E2 #5546EE #897EF3

Accessibility & contrast

On white

9.16
#2715E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2715E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2715E2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2715E2#FFFFFF#000000##FFFFFF
##2715E21.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052E7
Deuteranopia (green-blind)
#003DDF
Tritanopia (blue-blind)
#006085
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2715e2;
/* rgb */ color: rgb(39, 21, 226);
/* oklch */ color: oklch(43.2% 0.273 269.3);
Tailwind
colors: {
  custom: {
    50: '#8760ed',
    500: '#2715e2',
    950: '#000000',
  },
}
SCSS
$custom: #2715e2;
$custom-light: #8760ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2715e2",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 226
  },
  "hsl": {
    "h": 245.268,
    "s": 82.996,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43218,
    "c": 0.27269,
    "h": 269.3
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#2715E2
secondary
#D2DB78
accent
#F92EE8
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0517
muted
#7E7A85

Preview Lab

Preview with #2715E2

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

Preview Lab → · Contrast checker → · Palette generator →

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