#2C1DAA#2C1DAA

#2C1DAA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.206 H 274.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2C1DAA
RGBrgb(44, 29, 170)
HSLhsl(246, 71%, 39%)
HSVhsv(246, 83%, 67%)
CMYKcmyk(74.1%, 82.9%, 0%, 33.3%)
CIE-LABlab(24.69, 50.23, -71.15)
CIE-LCHlch(24.69, 87.09, 305.22°)
OKLaboklab(37.31% 0.0162 -0.2057)
OKLCHoklch(37.31% 0.206 274.5)
XYZxyz(8.7314, 4.3156, 38.3953)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1DAA #9BAA1D
analogous
#1D55AA #2C1DAA #731DAA
triadic
#2C1DAA #AA2C1D #1DAA2C
tetradic
#2C1DAA #AA1D55 #9BAA1D #1DAA73
square
#2C1DAA #AA1D55 #9BAA1D #1DAA73
split-complementary
#2C1DAA #AA731D #55AA1D
monochromatic
#110B41 #1E1476 #2C1DAA #3C2ADB #6C5EE4

Accessibility & contrast

On white

11.27
#2C1DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C1DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1DAA
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1DAA#FFFFFF#000000##FFFFFF
##2C1DAA1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c1daa;
/* rgb */ color: rgb(44, 29, 170);
/* oklch */ color: oklch(37.3% 0.206 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b5ec5',
    500: '#2c1daa',
    950: '#000000',
  },
}
SCSS
$custom: #2c1daa;
$custom-light: #7b5ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1daa",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 170
  },
  "hsl": {
    "h": 246.383,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.20636,
    "h": 274.5
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#2C1DAA
secondary
#BCC85B
accent
#EE3ADB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C1DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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