#2C15A1#2C15A1

#2C15A1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.5% C 0.202 H 276.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2C15A1
RGBrgb(44, 21, 161)
HSLhsl(250, 77%, 36%)
HSVhsv(250, 87%, 63%)
CMYKcmyk(72.7%, 87%, 0%, 36.9%)
CIE-LABlab(22.46, 50.93, -69.39)
CIE-LCHlch(22.46, 86.07, 306.28°)
OKLaboklab(35.47% 0.0214 -0.2005)
OKLCHoklch(35.47% 0.202 276.1)
XYZxyz(7.7378, 3.6443, 34.0069)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C15A1 #8AA115
analogous
#1544A1 #2C15A1 #7215A1
triadic
#2C15A1 #A12C15 #15A12C
tetradic
#2C15A1 #A11544 #8AA115 #15A172
square
#2C15A1 #A11544 #8AA115 #15A172
split-complementary
#2C15A1 #A17215 #44A115
monochromatic
#0E0735 #1D0E6B #2C15A1 #3B1CD7 #6349E7

Accessibility & contrast

On white

12.15
#2C15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C15A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C15A1
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C15A1#FFFFFF#000000##FFFFFF
##2C15A11.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c15a1;
/* rgb */ color: rgb(44, 21, 161);
/* oklch */ color: oklch(35.5% 0.202 276.1);
Tailwind
colors: {
  custom: {
    50: '#795abe',
    500: '#2c15a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c15a1;
$custom-light: #795abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c15a1",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 249.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35469,
    "c": 0.20161,
    "h": 276.1
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#2C15A1
secondary
#B4C849
accent
#F334D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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