#2C1CA7#2C1CA7

#2C1CA7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.204 H 274.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2C1CA7
RGBrgb(44, 28, 167)
HSLhsl(247, 71%, 38%)
HSVhsv(247, 83%, 65%)
CMYKcmyk(73.7%, 83.2%, 0%, 34.5%)
CIE-LABlab(24.18, 49.77, -70.18)
CIE-LCHlch(24.18, 86.04, 305.34°)
OKLaboklab(36.86% 0.0174 -0.2029)
OKLCHoklch(36.86% 0.204 274.9)
XYZxyz(8.4267, 4.1552, 36.9097)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1CA7 #97A71C
analogous
#1C52A7 #2C1CA7 #711CA7
triadic
#2C1CA7 #A72C1C #1CA72C
tetradic
#2C1CA7 #A71C52 #97A71C #1CA771
square
#2C1CA7 #A71C52 #97A71C #1CA771
split-complementary
#2C1CA7 #A7711C #52A71C
monochromatic
#100A3E #1E1373 #2C1CA7 #3A26DB #6A5AE3

Accessibility & contrast

On white

11.47
#2C1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1CA7
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1CA7#FFFFFF#000000##FFFFFF
##2C1CA71.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c1ca7;
/* rgb */ color: rgb(44, 28, 167);
/* oklch */ color: oklch(36.9% 0.204 274.9);
Tailwind
colors: {
  custom: {
    50: '#7a5dc3',
    500: '#2c1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ca7;
$custom-light: #7a5dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ca7",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 246.906,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36858,
    "c": 0.20364,
    "h": 274.9
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#2C1CA7
secondary
#BAC758
accent
#EE3AD9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2C1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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