#2C29C4#2C29C4

#2C29C4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.7% C 0.227 H 271.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2C29C4
RGBrgb(44, 41, 196)
HSLhsl(241, 65%, 46%)
HSVhsv(241, 79%, 77%)
CMYKcmyk(77.6%, 79.1%, 0%, 23.1%)
CIE-LABlab(29.68, 52.49, -78.35)
CIE-LCHlch(29.68, 94.30, 303.82°)
OKLaboklab(41.66% 0.0062 -0.2268)
OKLCHoklch(41.66% 0.227 271.6)
XYZxyz(11.7921, 6.1056, 52.7709)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29C4 #C1C429
analogous
#2974C4 #2C29C4 #7A29C4
triadic
#2C29C4 #C42C29 #29C42C
tetradic
#2C29C4 #C42974 #C1C429 #29C47A
square
#2C29C4 #C42974 #C1C429 #29C47A
split-complementary
#2C29C4 #C47A29 #74C429
monochromatic
#15145F #211E91 #2C29C4 #5350DA #8482E5

Accessibility & contrast

On white

9.45
#2C29C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C29C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29C4
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29C4#FFFFFF#000000##FFFFFF
##2C29C41.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c29c4;
/* rgb */ color: rgb(44, 41, 196);
/* oklch */ color: oklch(41.7% 0.227 271.6);
Tailwind
colors: {
  custom: {
    50: '#8066d7',
    500: '#2c29c4',
    950: '#000000',
  },
}
SCSS
$custom: #2c29c4;
$custom-light: #8066d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29c4",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 241.161,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41655,
    "c": 0.22687,
    "h": 271.6
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2C29C4
secondary
#CCCE7B
accent
#E83FE5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2C29C4

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

Preview Lab → · Contrast checker → · Palette generator →

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