#2E29A1#2E29A1

#2E29A1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.184 H 274.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2E29A1
RGBrgb(46, 41, 161)
HSLhsl(243, 59%, 40%)
HSVhsv(243, 75%, 63%)
CMYKcmyk(71.4%, 74.5%, 0%, 36.9%)
CIE-LABlab(25.98, 41.34, -63.56)
CIE-LCHlch(25.98, 75.82, 303.04°)
OKLaboklab(37.96% 0.0158 -0.1838)
OKLCHoklch(37.96% 0.184 274.9)
XYZxyz(8.3505, 4.7391, 34.1860)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A1 #9CA129
analogous
#2960A1 #2E29A1 #6A29A1
triadic
#2E29A1 #A12E29 #29A12E
tetradic
#2E29A1 #A12960 #9CA129 #29A16A
square
#2E29A1 #A12960 #9CA129 #29A16A
split-complementary
#2E29A1 #A16A29 #60A129
monochromatic
#12103F #201D70 #2E29A1 #403ACD #706BD9

Accessibility & contrast

On white

10.78
#2E29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E29A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A1
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A1#FFFFFF#000000##FFFFFF
##2E29A11.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e29a1;
/* rgb */ color: rgb(46, 41, 161);
/* oklch */ color: oklch(38.0% 0.184 274.9);
Tailwind
colors: {
  custom: {
    50: '#7864be',
    500: '#2e29a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a1;
$custom-light: #7864be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a1",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 242.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.18445,
    "h": 274.9
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#2E29A1
secondary
#BCC066
accent
#E345DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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