#2C1CB3#2C1CB3

#2C1CB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.3% C 0.217 H 273.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2C1CB3
RGBrgb(44, 28, 179)
HSLhsl(246, 73%, 41%)
HSVhsv(246, 84%, 70%)
CMYKcmyk(75.4%, 84.4%, 0%, 29.8%)
CIE-LABlab(25.62, 53.35, -75.00)
CIE-LCHlch(25.62, 92.04, 305.42°)
OKLaboklab(38.27% 0.014 -0.2169)
OKLCHoklch(38.27% 0.217 273.7)
XYZxyz(9.5879, 4.6197, 43.0255)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1CB3 #A3B31C
analogous
#1C57B3 #2C1CB3 #781CB3
triadic
#2C1CB3 #B32C1C #1CB32C
tetradic
#2C1CB3 #B31C57 #A3B31C #1CB378
square
#2C1CB3 #B31C57 #A3B31C #1CB378
split-complementary
#2C1CB3 #B3781C #57B31C
monochromatic
#120B49 #1F147E #2C1CB3 #412EDE #7163E7

Accessibility & contrast

On white

10.91
#2C1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1CB3
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1CB3#FFFFFF#000000##FFFFFF
##2C1CB31.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c1cb3;
/* rgb */ color: rgb(44, 28, 179);
/* oklch */ color: oklch(38.3% 0.217 273.7);
Tailwind
colors: {
  custom: {
    50: '#7d5ecb',
    500: '#2c1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c1cb3;
$custom-light: #7d5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1cb3",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 246.358,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.21732,
    "h": 273.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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