#2E29B4#2E29B4

#2E29B4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.208 H 273.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2E29B4
RGBrgb(46, 41, 180)
HSLhsl(242, 63%, 43%)
HSVhsv(242, 77%, 71%)
CMYKcmyk(74.4%, 77.2%, 0%, 29.4%)
CIE-LABlab(28.01, 47.56, -71.64)
CIE-LCHlch(28.01, 85.99, 303.58°)
OKLaboklab(40% 0.0119 -0.2073)
OKLCHoklch(40% 0.208 273.3)
XYZxyz(10.1551, 5.4610, 43.6900)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B4 #AFB429
analogous
#2969B4 #2E29B4 #7329B4
triadic
#2E29B4 #B42E29 #29B42E
tetradic
#2E29B4 #B42969 #AFB429 #29B473
square
#2E29B4 #B42969 #AFB429 #29B473
split-complementary
#2E29B4 #B47329 #69B429
monochromatic
#151250 #211E82 #2E29B4 #4B45D5 #7B77E0

Accessibility & contrast

On white

10.04
#2E29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B4
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B4#FFFFFF#000000##FFFFFF
##2E29B41.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e29b4;
/* rgb */ color: rgb(46, 41, 180);
/* oklch */ color: oklch(40.0% 0.208 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d65cc',
    500: '#2e29b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b4;
$custom-light: #7d65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b4",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 242.158,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.20762,
    "h": 273.3
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#2E29B4
secondary
#C5C871
accent
#E642E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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