#2E29B5#2E29B5

#2E29B5 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.209 H 273.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2E29B5
RGBrgb(46, 41, 181)
HSLhsl(242, 63%, 44%)
HSVhsv(242, 77%, 71%)
CMYKcmyk(74.6%, 77.3%, 0%, 29%)
CIE-LABlab(28.12, 47.88, -72.05)
CIE-LCHlch(28.12, 86.51, 303.61°)
OKLaboklab(40.11% 0.0117 -0.2085)
OKLCHoklch(40.11% 0.209 273.2)
XYZxyz(10.2574, 5.5019, 44.2285)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B5 #B0B529
analogous
#296AB5 #2E29B5 #7429B5
triadic
#2E29B5 #B52E29 #29B52E
tetradic
#2E29B5 #B5296A #B0B529 #29B574
square
#2E29B5 #B5296A #B0B529 #29B574
split-complementary
#2E29B5 #B57429 #6AB529
monochromatic
#151251 #211E83 #2E29B5 #4B46D5 #7C78E0

Accessibility & contrast

On white

10.00
#2E29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B5#FFFFFF#000000##FFFFFF
##2E29B51.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e29b5;
/* rgb */ color: rgb(46, 41, 181);
/* oklch */ color: oklch(40.1% 0.209 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d65cd',
    500: '#2e29b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b5;
$custom-light: #7d65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b5",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 242.143,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40105,
    "c": 0.20881,
    "h": 273.2
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#2E29B5
secondary
#C5C872
accent
#E642E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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