#2C2CC1#2C2CC1

#2C2CC1 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.221 H 271.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2C2CC1
RGBrgb(44, 44, 193)
HSLhsl(240, 63%, 46%)
HSVhsv(240, 77%, 76%)
CMYKcmyk(77.2%, 77.2%, 0%, 24.3%)
CIE-LABlab(29.88, 50.00, -76.25)
CIE-LCHlch(29.88, 91.18, 303.25°)
OKLaboklab(41.7% 0.0058 -0.2207)
OKLCHoklch(41.7% 0.221 271.5)
XYZxyz(11.5618, 6.1858, 51.0264)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CC1 #C1C12C
analogous
#2C77C1 #2C2CC1 #772CC1
triadic
#2C2CC1 #C12C2C #2CC12C
tetradic
#2C2CC1 #C12C77 #C1C12C #2CC177
square
#2C2CC1 #C12C77 #C1C12C #2CC177
split-complementary
#2C2CC1 #C1772C #77C12C
monochromatic
#15155D #21218F #2C2CC1 #5353D8 #8484E3

Accessibility & contrast

On white

9.39
#2C2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C2CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CC1
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CC1#FFFFFF#000000##FFFFFF
##2C2CC11.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC5
Deuteranopia (green-blind)
#003FBE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c2cc1;
/* rgb */ color: rgb(44, 44, 193);
/* oklch */ color: oklch(41.7% 0.221 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f68d5',
    500: '#2c2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cc1;
$custom-light: #7f68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cc1",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 240,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.22083,
    "h": 271.5
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#2C2CC1
secondary
#CCCC7D
accent
#E642E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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