#2815CA#2815CA

#2815CA is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.3% C 0.247 H 270.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2815CA
RGBrgb(40, 21, 202)
HSLhsl(246, 81%, 44%)
HSVhsv(246, 90%, 79%)
CMYKcmyk(80.2%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.44, 62.21, -85.59)
CIE-LCHlch(27.44, 105.81, 306.01°)
OKLaboklab(40.26% 0.0039 -0.2474)
OKLCHoklch(40.26% 0.247 270.9)
XYZxyz(11.8003, 5.2504, 56.2572)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2815CA #B7CA15
analogous
#155CCA #2815CA #8215CA
triadic
#2815CA #CA2815 #15CA28
tetradic
#2815CA #CA155C #B7CA15 #15CA82
square
#2815CA #CA155C #B7CA15 #15CA82
split-complementary
#2815CA #CA8215 #5CCA15
monochromatic
#12095B #1D0F93 #2815CA #4632EA #786AEF

Accessibility & contrast

On white

10.24
#2815CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2815CA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2815CA#FFFFFF#000000##FFFFFF
##2815CA1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2815ca;
/* rgb */ color: rgb(40, 21, 202);
/* oklch */ color: oklch(40.3% 0.247 270.9);
Tailwind
colors: {
  custom: {
    50: '#825ddc',
    500: '#2815ca',
    950: '#000000',
  },
}
SCSS
$custom: #2815ca;
$custom-light: #825ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2815ca",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 246.298,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.24746,
    "h": 270.9
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#2815CA
secondary
#C9D566
accent
#F830E3
background
#F9F5FD
surface
#F1E9FB
border
#CBC5D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2815CA

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

Preview Lab → · Contrast checker → · Palette generator →

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