#2E29A3#2E29A3

#2E29A3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.187 H 274.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2E29A3
RGBrgb(46, 41, 163)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 64%)
CMYKcmyk(71.8%, 74.8%, 0%, 36.1%)
CIE-LABlab(26.19, 42.00, -64.43)
CIE-LCHlch(26.19, 76.91, 303.10°)
OKLaboklab(38.17% 0.0154 -0.1863)
OKLCHoklch(38.17% 0.187 274.7)
XYZxyz(8.5283, 4.8102, 35.1223)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A3 #9EA329
analogous
#2961A3 #2E29A3 #6B29A3
triadic
#2E29A3 #A32E29 #29A32E
tetradic
#2E29A3 #A32961 #9EA329 #29A36B
square
#2E29A3 #A32961 #9EA329 #29A36B
split-complementary
#2E29A3 #A36B29 #61A329
monochromatic
#121041 #201D72 #2E29A3 #413BCE #716CDA

Accessibility & contrast

On white

10.70
#2E29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A3
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A3#FFFFFF#000000##FFFFFF
##2E29A31.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e29a3;
/* rgb */ color: rgb(46, 41, 163);
/* oklch */ color: oklch(38.2% 0.187 274.7);
Tailwind
colors: {
  custom: {
    50: '#7965bf',
    500: '#2e29a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a3;
$custom-light: #7965bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a3",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 242.459,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.38169,
    "c": 0.18694,
    "h": 274.7
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#2E29A3
secondary
#BDC167
accent
#E345DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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