#2C1BAA#2C1BAA

#2C1BAA is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.208 H 274.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2C1BAA
RGBrgb(44, 27, 170)
HSLhsl(247, 73%, 39%)
HSVhsv(247, 84%, 67%)
CMYKcmyk(74.1%, 84.1%, 0%, 33.3%)
CIE-LABlab(24.39, 51.11, -71.64)
CIE-LCHlch(24.39, 88.01, 305.50°)
OKLaboklab(37.11% 0.0168 -0.2071)
OKLCHoklch(37.11% 0.208 274.6)
XYZxyz(8.6839, 4.2207, 38.3794)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1BAA #99AA1B
analogous
#1B51AA #2C1BAA #731BAA
triadic
#2C1BAA #AA2C1B #1BAA2C
tetradic
#2C1BAA #AA1B51 #99AA1B #1BAA73
square
#2C1BAA #AA1B51 #99AA1B #1BAA73
split-complementary
#2C1BAA #AA731B #51AA1B
monochromatic
#110A40 #1E1375 #2C1BAA #3B26DC #6B5BE5

Accessibility & contrast

On white

11.39
#2C1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1BAA
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1BAA#FFFFFF#000000##FFFFFF
##2C1BAA1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c1baa;
/* rgb */ color: rgb(44, 27, 170);
/* oklch */ color: oklch(37.1% 0.208 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b5dc5',
    500: '#2c1baa',
    950: '#000000',
  },
}
SCSS
$custom: #2c1baa;
$custom-light: #7b5dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1baa",
  "rgb": {
    "r": 44,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 247.133,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.20781,
    "h": 274.6
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#2C1BAA
secondary
#BBC958
accent
#EF39DA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2C1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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