#2C29B1#2C29B1

#2C29B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.205 H 272.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2C29B1
RGBrgb(44, 41, 177)
HSLhsl(241, 62%, 43%)
HSVhsv(241, 77%, 69%)
CMYKcmyk(75.1%, 76.8%, 0%, 30.6%)
CIE-LABlab(27.56, 46.43, -70.60)
CIE-LCHlch(27.56, 84.49, 303.33°)
OKLaboklab(39.55% 0.0101 -0.2043)
OKLCHoklch(39.55% 0.205 272.8)
XYZxyz(9.7648, 5.2947, 42.0938)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29B1 #AEB129
analogous
#296AB1 #2C29B1 #7029B1
triadic
#2C29B1 #B12C29 #29B12C
tetradic
#2C29B1 #B1296A #AEB129 #29B170
square
#2C29B1 #B1296A #AEB129 #29B170
split-complementary
#2C29B1 #B17029 #6AB129
monochromatic
#13124E #201D7F #2C29B1 #4744D4 #7875DF

Accessibility & contrast

On white

10.20
#2C29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29B1
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29B1#FFFFFF#000000##FFFFFF
##2C29B11.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c29b1;
/* rgb */ color: rgb(44, 41, 177);
/* oklch */ color: oklch(39.5% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b65ca',
    500: '#2c29b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c29b1;
$custom-light: #7b65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29b1",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 241.324,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.20455,
    "h": 272.8
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#2C29B1
secondary
#C5C76F
accent
#E542E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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