#2A15CA#2A15CA

#2A15CA is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.4% C 0.247 H 271.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2A15CA
RGBrgb(42, 21, 202)
HSLhsl(247, 81%, 44%)
HSVhsv(247, 90%, 79%)
CMYKcmyk(79.2%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.55, 62.28, -85.40)
CIE-LCHlch(27.55, 105.70, 306.10°)
OKLaboklab(40.37% 0.0063 -0.2468)
OKLCHoklch(40.37% 0.247 271.5)
XYZxyz(11.8801, 5.2915, 56.2609)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A15CA #B5CA15
analogous
#155ACA #2A15CA #8415CA
triadic
#2A15CA #CA2A15 #15CA2A
tetradic
#2A15CA #CA155A #B5CA15 #15CA84
square
#2A15CA #CA155A #B5CA15 #15CA84
split-complementary
#2A15CA #CA8415 #5ACA15
monochromatic
#13095B #1E0F93 #2A15CA #4832EA #796AEF

Accessibility & contrast

On white

10.20
#2A15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A15CA
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A15CA#FFFFFF#000000##FFFFFF
##2A15CA1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.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: #2a15ca;
/* rgb */ color: rgb(42, 21, 202);
/* oklch */ color: oklch(40.4% 0.247 271.5);
Tailwind
colors: {
  custom: {
    50: '#825ddc',
    500: '#2a15ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a15ca;
$custom-light: #825ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a15ca",
  "rgb": {
    "r": 42,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 246.961,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.24693,
    "h": 271.5
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#2A15CA
secondary
#C8D566
accent
#F830E0
background
#F9F5FD
surface
#F1E9FB
border
#CBC5D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2A15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#2A15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva