#2C219F#2C219F

#2C219F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.190 H 275.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2C219F
RGBrgb(44, 33, 159)
HSLhsl(245, 66%, 38%)
HSVhsv(245, 79%, 62%)
CMYKcmyk(72.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(24.08, 44.87, -65.48)
CIE-LCHlch(24.08, 79.37, 304.42°)
OKLaboklab(36.52% 0.0176 -0.1893)
OKLCHoklch(36.52% 0.19 275.3)
XYZxyz(7.8385, 4.1256, 33.1774)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C219F #949F21
analogous
#21559F #2C219F #6B219F
triadic
#2C219F #9F2C21 #219F2C
tetradic
#2C219F #9F2155 #949F21 #219F6B
square
#2C219F #9F2155 #949F21 #219F6B
split-complementary
#2C219F #9F6B21 #559F21
monochromatic
#100C3A #1E166C #2C219F #3A2CD2 #685DDD

Accessibility & contrast

On white

11.51
#2C219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C219F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C219F#FFFFFF#000000##FFFFFF
##2C219F1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c219f;
/* rgb */ color: rgb(44, 33, 159);
/* oklch */ color: oklch(36.5% 0.190 275.3);
Tailwind
colors: {
  custom: {
    50: '#785fbd',
    500: '#2c219f',
    950: '#000000',
  },
}
SCSS
$custom: #2c219f;
$custom-light: #785fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c219f",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 245.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36522,
    "c": 0.19014,
    "h": 275.3
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#2C219F
secondary
#B9C25A
accent
#E93FDA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C219F

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

Preview Lab → · Contrast checker → · Palette generator →

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