#2C219D#2C219D

#2C219D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.188 H 275.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2C219D
RGBrgb(44, 33, 157)
HSLhsl(245, 65%, 37%)
HSVhsv(245, 79%, 62%)
CMYKcmyk(72%, 79%, 0%, 38.4%)
CIE-LABlab(23.86, 44.23, -64.62)
CIE-LCHlch(23.86, 78.31, 304.39°)
OKLaboklab(36.3% 0.0181 -0.1868)
OKLCHoklch(36.3% 0.188 275.5)
XYZxyz(7.6664, 4.0568, 32.2708)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C219D #929D21
analogous
#21549D #2C219D #6A219D
triadic
#2C219D #9D2C21 #219D2C
tetradic
#2C219D #9D2154 #929D21 #219D6A
square
#2C219D #9D2154 #929D21 #219D6A
split-complementary
#2C219D #9D6A21 #549D21
monochromatic
#100C38 #1E166A #2C219D #3A2CD0 #675CDD

Accessibility & contrast

On white

11.59
#2C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C219D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C219D#FFFFFF#000000##FFFFFF
##2C219D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c219d;
/* rgb */ color: rgb(44, 33, 157);
/* oklch */ color: oklch(36.3% 0.188 275.5);
Tailwind
colors: {
  custom: {
    50: '#775fbb',
    500: '#2c219d',
    950: '#000000',
  },
}
SCSS
$custom: #2c219d;
$custom-light: #775fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c219d",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 245.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.18772,
    "h": 275.5
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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