#2E29A4#2E29A4

#2E29A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.188 H 274.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E29A4
RGBrgb(46, 41, 164)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 64%)
CMYKcmyk(72%, 75%, 0%, 35.7%)
CIE-LABlab(26.29, 42.34, -64.86)
CIE-LCHlch(26.29, 77.45, 303.13°)
OKLaboklab(38.28% 0.0152 -0.1876)
OKLCHoklch(38.28% 0.188 274.6)
XYZxyz(8.6183, 4.8462, 35.5960)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A4 #9FA429
analogous
#2961A4 #2E29A4 #6B29A4
triadic
#2E29A4 #A42E29 #29A42E
tetradic
#2E29A4 #A42961 #9FA429 #29A46B
square
#2E29A4 #A42961 #9FA429 #29A46B
split-complementary
#2E29A4 #A46B29 #61A429
monochromatic
#131142 #201D73 #2E29A4 #423CCE #716DDA

Accessibility & contrast

On white

10.66
#2E29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A4
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A4#FFFFFF#000000##FFFFFF
##2E29A41.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e29a4;
/* rgb */ color: rgb(46, 41, 164);
/* oklch */ color: oklch(38.3% 0.188 274.6);
Tailwind
colors: {
  custom: {
    50: '#7965c0',
    500: '#2e29a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a4;
$custom-light: #7965c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a4",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 242.439,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38275,
    "c": 0.18819,
    "h": 274.6
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#2E29A4
secondary
#BEC168
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2E29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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