#2C1CA1#2C1CA1

#2C1CA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.2% C 0.197 H 275.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2C1CA1
RGBrgb(44, 28, 161)
HSLhsl(247, 70%, 37%)
HSVhsv(247, 83%, 63%)
CMYKcmyk(72.7%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.47, 47.95, -67.71)
CIE-LCHlch(23.47, 82.97, 305.30°)
OKLaboklab(36.16% 0.0191 -0.1957)
OKLCHoklch(36.16% 0.197 275.6)
XYZxyz(7.8849, 3.9384, 34.0560)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1CA1 #91A11C
analogous
#1C4FA1 #2C1CA1 #6F1CA1
triadic
#2C1CA1 #A12C1C #1CA12C
tetradic
#2C1CA1 #A11C4F #91A11C #1CA16F
square
#2C1CA1 #A11C4F #91A11C #1CA16F
split-complementary
#2C1CA1 #A16F1C #4FA11C
monochromatic
#100A39 #1E136D #2C1CA1 #3A25D5 #6756E2

Accessibility & contrast

On white

11.75
#2C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1CA1
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1CA1#FFFFFF#000000##FFFFFF
##2C1CA11.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c1ca1;
/* rgb */ color: rgb(44, 28, 161);
/* oklch */ color: oklch(36.2% 0.197 275.6);
Tailwind
colors: {
  custom: {
    50: '#795dbe',
    500: '#2c1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ca1;
$custom-light: #795dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ca1",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 247.218,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.19668,
    "h": 275.6
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#2C1CA1
secondary
#B7C554
accent
#ED3BD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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