#2E29B7#2E29B7

#2E29B7 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.211 H 273.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2E29B7
RGBrgb(46, 41, 183)
HSLhsl(242, 63%, 44%)
HSVhsv(242, 78%, 72%)
CMYKcmyk(74.9%, 77.6%, 0%, 28.2%)
CIE-LABlab(28.34, 48.52, -72.88)
CIE-LCHlch(28.34, 87.55, 303.66°)
OKLaboklab(40.32% 0.0113 -0.2109)
OKLCHoklch(40.32% 0.211 273.1)
XYZxyz(10.4640, 5.5845, 45.3170)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B7 #B2B729
analogous
#296BB7 #2E29B7 #7529B7
triadic
#2E29B7 #B72E29 #29B72E
tetradic
#2E29B7 #B7296B #B2B729 #29B775
square
#2E29B7 #B7296B #B2B729 #29B775
split-complementary
#2E29B7 #B77529 #6BB729
monochromatic
#151353 #211E85 #2E29B7 #4C47D6 #7D79E1

Accessibility & contrast

On white

9.92
#2E29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B7
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B7#FFFFFF#000000##FFFFFF
##2E29B71.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e29b7;
/* rgb */ color: rgb(46, 41, 183);
/* oklch */ color: oklch(40.3% 0.211 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e66ce',
    500: '#2e29b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b7;
$custom-light: #7e66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b7",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 242.113,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.21118,
    "h": 273.1
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#2E29B7
secondary
#C6C973
accent
#E641E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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