#2C219B#2C219B

#2C219B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.185 H 275.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2C219B
RGBrgb(44, 33, 155)
HSLhsl(245, 65%, 37%)
HSVhsv(245, 79%, 61%)
CMYKcmyk(71.6%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.64, 43.59, -63.77)
CIE-LCHlch(23.64, 77.24, 304.35°)
OKLaboklab(36.08% 0.0186 -0.1844)
OKLCHoklch(36.08% 0.185 275.8)
XYZxyz(7.4970, 3.9890, 31.3789)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C219B #909B21
analogous
#21539B #2C219B #69219B
triadic
#2C219B #9B2C21 #219B2C
tetradic
#2C219B #9B2153 #909B21 #219B69
square
#2C219B #9B2153 #909B21 #219B69
split-complementary
#2C219B #9B6921 #539B21
monochromatic
#0F0C36 #1E1669 #2C219B #3A2CCD #665ADC

Accessibility & contrast

On white

11.68
#2C219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C219B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C219B#FFFFFF#000000##FFFFFF
##2C219B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c219b;
/* rgb */ color: rgb(44, 33, 155);
/* oklch */ color: oklch(36.1% 0.185 275.8);
Tailwind
colors: {
  custom: {
    50: '#775fba',
    500: '#2c219b',
    950: '#000000',
  },
}
SCSS
$custom: #2c219b;
$custom-light: #775fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c219b",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 245.41,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36077,
    "c": 0.1853,
    "h": 275.8
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#2C219B
secondary
#B7C058
accent
#E840D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C219B

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

Preview Lab → · Contrast checker → · Palette generator →

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