#2C216C#2C216C

#2C216C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.124 H 283.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2C216C
RGBrgb(44, 33, 108)
HSLhsl(249, 53%, 28%)
HSVhsv(249, 69%, 42%)
CMYKcmyk(59.3%, 69.4%, 0%, 57.6%)
CIE-LABlab(18.82, 27.90, -42.05)
CIE-LCHlch(18.82, 50.46, 303.57°)
OKLaboklab(31.21% 0.0283 -0.1209)
OKLCHoklch(31.21% 0.124 283.2)
XYZxyz(4.2885, 2.7056, 14.4807)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C216C #616C21
analogous
#213B6C #2C216C #51216C
triadic
#2C216C #6C2C21 #216C2C
tetradic
#2C216C #6C213B #616C21 #216C51
square
#2C216C #6C213B #616C21 #216C51
split-complementary
#2C216C #6C5121 #3B6C21
monochromatic
#0A0717 #19133D #2C216C #3F2F9B #5542C5

Accessibility & contrast

On white

13.63
#2C216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C216C
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C216C#FFFFFF#000000##FFFFFF
##2C216C1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#0C3443
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c216c;
/* rgb */ color: rgb(44, 33, 108);
/* oklch */ color: oklch(31.2% 0.124 283.2);
Tailwind
colors: {
  custom: {
    50: '#6d5d97',
    500: '#2c216c',
    950: '#000000',
  },
}
SCSS
$custom: #2c216c;
$custom-light: #6d5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c216c",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 248.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.12417,
    "h": 283.2
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#2C216C
secondary
#93A049
accent
#DD4BC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C216C

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

Preview Lab → · Contrast checker → · Palette generator →

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