#2E29B1#2E29B1

#2E29B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.204 H 273.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2E29B1
RGBrgb(46, 41, 177)
HSLhsl(242, 62%, 43%)
HSVhsv(242, 77%, 69%)
CMYKcmyk(74%, 76.8%, 0%, 30.6%)
CIE-LABlab(27.68, 46.59, -70.39)
CIE-LCHlch(27.68, 84.41, 303.50°)
OKLaboklab(39.67% 0.0126 -0.2036)
OKLCHoklch(39.67% 0.204 273.5)
XYZxyz(9.8528, 5.3400, 42.0979)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B1 #ACB129
analogous
#2968B1 #2E29B1 #7229B1
triadic
#2E29B1 #B12E29 #29B12E
tetradic
#2E29B1 #B12968 #ACB129 #29B172
square
#2E29B1 #B12968 #ACB129 #29B172
split-complementary
#2E29B1 #B17229 #68B129
monochromatic
#14124E #211D7F #2E29B1 #4944D4 #7975DF

Accessibility & contrast

On white

10.15
#2E29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B1
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B1#FFFFFF#000000##FFFFFF
##2E29B11.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e29b1;
/* rgb */ color: rgb(46, 41, 177);
/* oklch */ color: oklch(39.7% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c65ca',
    500: '#2e29b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b1;
$custom-light: #7c65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b1",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 242.206,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.20404,
    "h": 273.5
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#2E29B1
secondary
#C3C76F
accent
#E542DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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