#2C216A#2C216A

#2C216A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.121 H 283.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#2C216A
RGBrgb(44, 33, 106)
HSLhsl(249, 53%, 27%)
HSVhsv(249, 69%, 42%)
CMYKcmyk(58.5%, 68.9%, 0%, 58.4%)
CIE-LABlab(18.64, 27.21, -41.04)
CIE-LCHlch(18.64, 49.24, 303.55°)
OKLaboklab(31.02% 0.0286 -0.1179)
OKLCHoklch(31.02% 0.121 283.6)
XYZxyz(4.1833, 2.6635, 13.9266)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C216A #5F6A21
analogous
#213B6A #2C216A #51216A
triadic
#2C216A #6A2C21 #216A2C
tetradic
#2C216A #6A213B #5F6A21 #216A51
square
#2C216A #6A213B #5F6A21 #216A51
split-complementary
#2C216A #6A5121 #3B6A21
monochromatic
#0A0717 #19123B #2C216A #3F3099 #5541C4

Accessibility & contrast

On white

13.70
#2C216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2C216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C216A
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C216A#FFFFFF#000000##FFFFFF
##2C216A1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#0F3342
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c216a;
/* rgb */ color: rgb(44, 33, 106);
/* oklch */ color: oklch(31.0% 0.121 283.6);
Tailwind
colors: {
  custom: {
    50: '#6c5d95',
    500: '#2c216a',
    950: '#000000',
  },
}
SCSS
$custom: #2c216a;
$custom-light: #6c5d95;
$custom-dark: #000000;
JSON
{
  "hex": "#2c216a",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 249.041,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31019,
    "c": 0.12136,
    "h": 283.6
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#2C216A
secondary
#919E49
accent
#DC4CC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C216A

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

Preview Lab → · Contrast checker → · Palette generator →

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