#2C15CA#2C15CA

#2C15CA is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.5% C 0.246 H 272.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2C15CA
RGBrgb(44, 21, 202)
HSLhsl(248, 81%, 44%)
HSVhsv(248, 90%, 79%)
CMYKcmyk(78.2%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.67, 62.36, -85.20)
CIE-LCHlch(27.67, 105.59, 306.20°)
OKLaboklab(40.48% 0.0088 -0.2462)
OKLCHoklch(40.48% 0.246 272)
XYZxyz(11.9640, 5.3347, 56.2648)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C15CA #B3CA15
analogous
#1558CA #2C15CA #8615CA
triadic
#2C15CA #CA2C15 #15CA2C
tetradic
#2C15CA #CA1558 #B3CA15 #15CA86
square
#2C15CA #CA1558 #B3CA15 #15CA86
split-complementary
#2C15CA #CA8615 #58CA15
monochromatic
#14095B #200F93 #2C15CA #4A32EA #7B6AEF

Accessibility & contrast

On white

10.16
#2C15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C15CA
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C15CA#FFFFFF#000000##FFFFFF
##2C15CA1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.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: #2c15ca;
/* rgb */ color: rgb(44, 21, 202);
/* oklch */ color: oklch(40.5% 0.246 272.0);
Tailwind
colors: {
  custom: {
    50: '#835edc',
    500: '#2c15ca',
    950: '#000000',
  },
}
SCSS
$custom: #2c15ca;
$custom-light: #835edc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c15ca",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 247.624,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.2464,
    "h": 272
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#2C15CA
secondary
#C7D566
accent
#F830DE
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2C15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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