#2C1CA0#2C1CA0

#2C1CA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.196 H 275.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#2C1CA0
RGBrgb(44, 28, 160)
HSLhsl(247, 70%, 37%)
HSVhsv(247, 83%, 63%)
CMYKcmyk(72.5%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.35, 47.64, -67.30)
CIE-LCHlch(23.35, 82.46, 305.30°)
OKLaboklab(36.05% 0.0194 -0.1945)
OKLCHoklch(36.05% 0.196 275.7)
XYZxyz(7.7970, 3.9033, 33.5934)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1CA0 #90A01C
analogous
#1C4EA0 #2C1CA0 #6E1CA0
triadic
#2C1CA0 #A02C1C #1CA02C
tetradic
#2C1CA0 #A01C4E #90A01C #1CA06E
square
#2C1CA0 #A01C4E #90A01C #1CA06E
split-complementary
#2C1CA0 #A06E1C #4EA01C
monochromatic
#0F0A38 #1E136C #2C1CA0 #3A25D4 #6655E1

Accessibility & contrast

On white

11.79
#2C1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1CA0
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1CA0#FFFFFF#000000##FFFFFF
##2C1CA01.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c1ca0;
/* rgb */ color: rgb(44, 28, 160);
/* oklch */ color: oklch(36.0% 0.196 275.7);
Tailwind
colors: {
  custom: {
    50: '#795dbd',
    500: '#2c1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ca0;
$custom-light: #795dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ca0",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 247.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36046,
    "c": 0.19551,
    "h": 275.7
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#2C1CA0
secondary
#B7C453
accent
#ED3BD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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