#2C15A0#2C15A0

#2C15A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.3% C 0.200 H 276.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2C15A0
RGBrgb(44, 21, 160)
HSLhsl(250, 77%, 35%)
HSVhsv(250, 87%, 63%)
CMYKcmyk(72.5%, 86.9%, 0%, 37.3%)
CIE-LABlab(22.33, 50.64, -68.98)
CIE-LCHlch(22.33, 85.58, 306.28°)
OKLaboklab(35.35% 0.0217 -0.1993)
OKLCHoklch(35.35% 0.2 276.2)
XYZxyz(7.6500, 3.6091, 33.5444)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C15A0 #89A015
analogous
#1543A0 #2C15A0 #7115A0
triadic
#2C15A0 #A02C15 #15A02C
tetradic
#2C15A0 #A01543 #89A015 #15A071
square
#2C15A0 #A01543 #89A015 #15A071
split-complementary
#2C15A0 #A07115 #43A015
monochromatic
#0E0734 #1D0E6A #2C15A0 #3B1CD6 #6348E7

Accessibility & contrast

On white

12.20
#2C15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C15A0
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C15A0#FFFFFF#000000##FFFFFF
##2C15A01.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c15a0;
/* rgb */ color: rgb(44, 21, 160);
/* oklch */ color: oklch(35.3% 0.200 276.2);
Tailwind
colors: {
  custom: {
    50: '#7959be',
    500: '#2c15a0',
    950: '#000000',
  },
}
SCSS
$custom: #2c15a0;
$custom-light: #7959be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c15a0",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 249.928,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.20048,
    "h": 276.2
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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