#2C216E#2C216E

#2C216E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.127 H 282.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#2C216E
RGBrgb(44, 33, 110)
HSLhsl(249, 54%, 28%)
HSVhsv(249, 70%, 43%)
CMYKcmyk(60%, 70%, 0%, 56.9%)
CIE-LABlab(19.01, 28.58, -43.04)
CIE-LCHlch(19.01, 51.67, 303.59°)
OKLaboklab(31.4% 0.0281 -0.1238)
OKLCHoklch(31.4% 0.127 282.8)
XYZxyz(4.3962, 2.7487, 15.0477)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C216E #636E21
analogous
#213D6E #2C216E #52216E
triadic
#2C216E #6E2C21 #216E2C
tetradic
#2C216E #6E213D #636E21 #216E52
square
#2C216E #6E213D #636E21 #216E52
split-complementary
#2C216E #6E5221 #3D6E21
monochromatic
#090718 #19133F #2C216E #3F2F9D #5643C7

Accessibility & contrast

On white

13.55
#2C216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2C216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C216E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C216E#FFFFFF#000000##FFFFFF
##2C216E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#083544
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c216e;
/* rgb */ color: rgb(44, 33, 110);
/* oklch */ color: oklch(31.4% 0.127 282.8);
Tailwind
colors: {
  custom: {
    50: '#6d5d98',
    500: '#2c216e',
    950: '#000000',
  },
}
SCSS
$custom: #2c216e;
$custom-light: #6d5d98;
$custom-dark: #000000;
JSON
{
  "hex": "#2c216e",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 248.571,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31397,
    "c": 0.12697,
    "h": 282.8
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#2C216E
secondary
#95A249
accent
#DD4BC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2C216E

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

Preview Lab → · Contrast checker → · Palette generator →

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