#2E29B6#2E29B6

#2E29B6 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.210 H 273.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2E29B6
RGBrgb(46, 41, 182)
HSLhsl(242, 63%, 44%)
HSVhsv(242, 77%, 71%)
CMYKcmyk(74.7%, 77.5%, 0%, 28.6%)
CIE-LABlab(28.23, 48.20, -72.47)
CIE-LCHlch(28.23, 87.03, 303.63°)
OKLaboklab(40.21% 0.0115 -0.2097)
OKLCHoklch(40.21% 0.21 273.1)
XYZxyz(10.3603, 5.5430, 44.7708)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B6 #B1B629
analogous
#296AB6 #2E29B6 #7429B6
triadic
#2E29B6 #B62E29 #29B62E
tetradic
#2E29B6 #B6296A #B1B629 #29B674
square
#2E29B6 #B6296A #B1B629 #29B674
split-complementary
#2E29B6 #B67429 #6AB629
monochromatic
#151252 #211E84 #2E29B6 #4C47D5 #7C79E1

Accessibility & contrast

On white

9.96
#2E29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B6
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B6#FFFFFF#000000##FFFFFF
##2E29B61.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e29b6;
/* rgb */ color: rgb(46, 41, 182);
/* oklch */ color: oklch(40.2% 0.210 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2e29b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b6;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b6",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 242.128,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.20999,
    "h": 273.1
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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