#2E29C4#2E29C4

#2E29C4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.226 H 272.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2E29C4
RGBrgb(46, 41, 196)
HSLhsl(242, 65%, 46%)
HSVhsv(242, 79%, 77%)
CMYKcmyk(76.5%, 79.1%, 0%, 23.1%)
CIE-LABlab(29.79, 52.62, -78.15)
CIE-LCHlch(29.79, 94.22, 303.95°)
OKLaboklab(41.76% 0.0085 -0.2262)
OKLCHoklch(41.76% 0.226 272.1)
XYZxyz(11.8801, 6.1510, 52.7750)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29C4 #BFC429
analogous
#2972C4 #2E29C4 #7B29C4
triadic
#2E29C4 #C42E29 #29C42E
tetradic
#2E29C4 #C42972 #BFC429 #29C47B
square
#2E29C4 #C42972 #BFC429 #29C47B
split-complementary
#2E29C4 #C47B29 #72C429
monochromatic
#16145F #221E91 #2E29C4 #5450DA #8682E5

Accessibility & contrast

On white

9.42
#2E29C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E29C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29C4
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29C4#FFFFFF#000000##FFFFFF
##2E29C41.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e29c4;
/* rgb */ color: rgb(46, 41, 196);
/* oklch */ color: oklch(41.8% 0.226 272.1);
Tailwind
colors: {
  custom: {
    50: '#8166d7',
    500: '#2e29c4',
    950: '#000000',
  },
}
SCSS
$custom: #2e29c4;
$custom-light: #8166d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29c4",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 241.935,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.22636,
    "h": 272.1
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#2E29C4
secondary
#CBCE7B
accent
#E83FE3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2E29C4

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

Preview Lab → · Contrast checker → · Palette generator →

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