#2C29C2#2C29C2

#2C29C2 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.225 H 271.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2C29C2
RGBrgb(44, 41, 194)
HSLhsl(241, 65%, 46%)
HSVhsv(241, 79%, 76%)
CMYKcmyk(77.3%, 78.9%, 0%, 23.9%)
CIE-LABlab(29.45, 51.86, -77.55)
CIE-LCHlch(29.45, 93.29, 303.78°)
OKLaboklab(41.43% 0.0066 -0.2245)
OKLCHoklch(41.43% 0.225 271.7)
XYZxyz(11.5660, 6.0151, 51.5799)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29C2 #BFC229
analogous
#2973C2 #2C29C2 #7829C2
triadic
#2C29C2 #C22C29 #29C22C
tetradic
#2C29C2 #C22973 #BFC229 #29C278
square
#2C29C2 #C22973 #BFC229 #29C278
split-complementary
#2C29C2 #C27829 #73C229
monochromatic
#15145D #211E8F #2C29C2 #514EDA #8381E4

Accessibility & contrast

On white

9.53
#2C29C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C29C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29C2
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29C2#FFFFFF#000000##FFFFFF
##2C29C21.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c29c2;
/* rgb */ color: rgb(44, 41, 194);
/* oklch */ color: oklch(41.4% 0.225 271.7);
Tailwind
colors: {
  custom: {
    50: '#8066d6',
    500: '#2c29c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c29c2;
$custom-light: #8066d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29c2",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 241.176,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.22457,
    "h": 271.7
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#2C29C2
secondary
#CCCD7A
accent
#E840E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2C29C2

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

Preview Lab → · Contrast checker → · Palette generator →

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