#2C1CB4#2C1CB4

#2C1CB4 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.218 H 273.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2C1CB4
RGBrgb(44, 28, 180)
HSLhsl(246, 73%, 41%)
HSVhsv(246, 84%, 71%)
CMYKcmyk(75.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(25.74, 53.64, -75.40)
CIE-LCHlch(25.74, 92.53, 305.43°)
OKLaboklab(38.39% 0.0137 -0.218)
OKLCHoklch(38.39% 0.218 273.6)
XYZxyz(9.6894, 4.6603, 43.5600)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1CB4 #A4B41C
analogous
#1C58B4 #2C1CB4 #781CB4
triadic
#2C1CB4 #B42C1C #1CB42C
tetradic
#2C1CB4 #B41C58 #A4B41C #1CB478
square
#2C1CB4 #B41C58 #A4B41C #1CB478
split-complementary
#2C1CB4 #B4781C #58B41C
monochromatic
#120C4A #1F147F #2C1CB4 #412FDF #7164E7

Accessibility & contrast

On white

10.87
#2C1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1CB4
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1CB4#FFFFFF#000000##FFFFFF
##2C1CB41.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c1cb4;
/* rgb */ color: rgb(44, 28, 180);
/* oklch */ color: oklch(38.4% 0.218 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ecc',
    500: '#2c1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c1cb4;
$custom-light: #7d5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1cb4",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 246.316,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.21845,
    "h": 273.6
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#2C1CB4
secondary
#C0CC60
accent
#F038DC
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2C1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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