#2E29B3#2E29B3

#2E29B3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.206 H 273.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2E29B3
RGBrgb(46, 41, 179)
HSLhsl(242, 63%, 43%)
HSVhsv(242, 77%, 70%)
CMYKcmyk(74.3%, 77.1%, 0%, 29.8%)
CIE-LABlab(27.90, 47.24, -71.22)
CIE-LCHlch(27.90, 85.46, 303.55°)
OKLaboklab(39.89% 0.0121 -0.2061)
OKLCHoklch(39.89% 0.206 273.4)
XYZxyz(10.0536, 5.4204, 43.1555)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B3 #AEB329
analogous
#2969B3 #2E29B3 #7329B3
triadic
#2E29B3 #B32E29 #29B32E
tetradic
#2E29B3 #B32969 #AEB329 #29B373
square
#2E29B3 #B32969 #AEB329 #29B373
split-complementary
#2E29B3 #B37329 #69B329
monochromatic
#14124F #211E81 #2E29B3 #4A45D4 #7A77E0

Accessibility & contrast

On white

10.08
#2E29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B3
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B3#FFFFFF#000000##FFFFFF
##2E29B31.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e29b3;
/* rgb */ color: rgb(46, 41, 179);
/* oklch */ color: oklch(39.9% 0.206 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d65cb',
    500: '#2e29b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b3;
$custom-light: #7d65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b3",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 242.174,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.20643,
    "h": 273.4
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#2E29B3
secondary
#C4C770
accent
#E642E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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