#2E29C5#2E29C5

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

Color values

HEX#2E29C5
RGBrgb(46, 41, 197)
HSLhsl(242, 66%, 47%)
HSVhsv(242, 79%, 77%)
CMYKcmyk(76.6%, 79.2%, 0%, 22.7%)
CIE-LABlab(29.90, 52.93, -78.55)
CIE-LCHlch(29.90, 94.73, 303.97°)
OKLaboklab(41.88% 0.0083 -0.2273)
OKLCHoklch(41.88% 0.228 272.1)
XYZxyz(11.9943, 6.1966, 53.3764)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29C5 #C0C529
analogous
#2972C5 #2E29C5 #7C29C5
triadic
#2E29C5 #C52E29 #29C52E
tetradic
#2E29C5 #C52972 #C0C529 #29C57C
square
#2E29C5 #C52972 #C0C529 #29C57C
split-complementary
#2E29C5 #C57C29 #72C529
monochromatic
#161460 #221E92 #2E29C5 #5551DB #8683E5

Accessibility & contrast

On white

9.38
#2E29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E29C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29C5
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29C5#FFFFFF#000000##FFFFFF
##2E29C51.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e29c5;
/* rgb */ color: rgb(46, 41, 197);
/* oklch */ color: oklch(41.9% 0.228 272.1);
Tailwind
colors: {
  custom: {
    50: '#8166d8',
    500: '#2e29c5',
    950: '#000000',
  },
}
SCSS
$custom: #2e29c5;
$custom-light: #8166d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29c5",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 241.923,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.2275,
    "h": 272.1
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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