#2715CA#2715CA

#2715CA is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.2% C 0.248 H 270.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2715CA
RGBrgb(39, 21, 202)
HSLhsl(246, 81%, 44%)
HSVhsv(246, 90%, 79%)
CMYKcmyk(80.7%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.38, 62.17, -85.69)
CIE-LCHlch(27.38, 105.87, 305.96°)
OKLaboklab(40.21% 0.0027 -0.2477)
OKLCHoklch(40.21% 0.248 270.6)
XYZxyz(11.7619, 5.2306, 56.2554)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2715CA #B8CA15
analogous
#155DCA #2715CA #8115CA
triadic
#2715CA #CA2715 #15CA27
tetradic
#2715CA #CA155D #B8CA15 #15CA81
square
#2715CA #CA155D #B8CA15 #15CA81
split-complementary
#2715CA #CA8115 #5DCA15
monochromatic
#12095B #1C0F93 #2715CA #4532EA #776AEF

Accessibility & contrast

On white

10.26
#2715CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2715CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2715CA
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2715CA#FFFFFF#000000##FFFFFF
##2715CA1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CF
Deuteranopia (green-blind)
#0037C7
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2715ca;
/* rgb */ color: rgb(39, 21, 202);
/* oklch */ color: oklch(40.2% 0.248 270.6);
Tailwind
colors: {
  custom: {
    50: '#825ddc',
    500: '#2715ca',
    950: '#000000',
  },
}
SCSS
$custom: #2715ca;
$custom-light: #825ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2715ca",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 245.967,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.24773,
    "h": 270.6
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#2715CA
secondary
#CAD566
accent
#F830E4
background
#F9F5FD
surface
#F1E9FB
border
#CBC5D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2715CA

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

Preview Lab → · Contrast checker → · Palette generator →

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