#2921C2#2921C2

#2921C2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.231 H 271.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2921C2
RGBrgb(41, 33, 194)
HSLhsl(243, 71%, 45%)
HSVhsv(243, 83%, 76%)
CMYKcmyk(78.9%, 83%, 0%, 23.9%)
CIE-LABlab(27.99, 55.47, -79.98)
CIE-LCHlch(27.99, 97.33, 304.75°)
OKLaboklab(40.37% 0.0052 -0.2314)
OKLCHoklch(40.37% 0.231 271.3)
XYZxyz(11.1926, 5.4529, 51.4911)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2921C2 #BAC221
analogous
#216AC2 #2921C2 #7921C2
triadic
#2921C2 #C22921 #21C229
tetradic
#2921C2 #C2216A #BAC221 #21C279
square
#2921C2 #C2216A #BAC221 #21C279
split-complementary
#2921C2 #C27921 #6AC221
monochromatic
#130F59 #1E188E #2921C2 #4941DF #7B76E8

Accessibility & contrast

On white

10.04
#2921C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2921C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2921C2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2921C2#FFFFFF#000000##FFFFFF
##2921C21.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003ABF
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2921c2;
/* rgb */ color: rgb(41, 33, 194);
/* oklch */ color: oklch(40.4% 0.231 271.3);
Tailwind
colors: {
  custom: {
    50: '#7f62d6',
    500: '#2921c2',
    950: '#000000',
  },
}
SCSS
$custom: #2921c2;
$custom-light: #7f62d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2921c2",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 194
  },
  "hsl": {
    "h": 242.981,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.23149,
    "h": 271.3
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#2921C2
secondary
#CACF70
accent
#EE3AE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0515
muted
#7D7A83

Preview Lab

Preview with #2921C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2921C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva