#2C219A#2C219A

#2C219A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.184 H 275.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2C219A
RGBrgb(44, 33, 154)
HSLhsl(245, 65%, 37%)
HSVhsv(245, 79%, 60%)
CMYKcmyk(71.4%, 78.6%, 0%, 39.6%)
CIE-LABlab(23.52, 43.27, -63.34)
CIE-LCHlch(23.52, 76.71, 304.34°)
OKLaboklab(35.97% 0.0188 -0.1831)
OKLCHoklch(35.97% 0.184 275.9)
XYZxyz(7.4134, 3.9556, 30.9384)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C219A #8F9A21
analogous
#21529A #2C219A #69219A
triadic
#2C219A #9A2C21 #219A2C
tetradic
#2C219A #9A2152 #8F9A21 #219A69
square
#2C219A #9A2152 #8F9A21 #219A69
split-complementary
#2C219A #9A6921 #529A21
monochromatic
#0F0B35 #1E1668 #2C219A #3A2CCC #665ADC

Accessibility & contrast

On white

11.72
#2C219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C219A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C219A#FFFFFF#000000##FFFFFF
##2C219A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c219a;
/* rgb */ color: rgb(44, 33, 154);
/* oklch */ color: oklch(36.0% 0.184 275.9);
Tailwind
colors: {
  custom: {
    50: '#775fb9',
    500: '#2c219a',
    950: '#000000',
  },
}
SCSS
$custom: #2c219a;
$custom-light: #775fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c219a",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.18409,
    "h": 275.9
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#2C219A
secondary
#B6C057
accent
#E840D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C219A

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

Preview Lab → · Contrast checker → · Palette generator →

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