#3E29B2#3E29B2

#3E29B2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.202 H 279.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3E29B2
RGBrgb(62, 41, 178)
HSLhsl(249, 63%, 43%)
HSVhsv(249, 77%, 70%)
CMYKcmyk(65.2%, 77%, 0%, 30.2%)
CIE-LABlab(28.96, 48.47, -68.83)
CIE-LCHlch(28.96, 84.18, 305.15°)
OKLaboklab(40.9% 0.0337 -0.1987)
OKLCHoklch(40.9% 0.202 279.6)
XYZxyz(10.8129, 5.8235, 42.6651)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29B2 #9DB229
analogous
#2958B2 #3E29B2 #8229B2
triadic
#3E29B2 #B23E29 #29B23E
tetradic
#3E29B2 #B22958 #9DB229 #29B282
square
#3E29B2 #B22958 #9DB229 #29B282
split-complementary
#3E29B2 #B28229 #58B229
monochromatic
#1B124F #2D1E80 #3E29B2 #5A44D4 #8676DF

Accessibility & contrast

On white

9.70
#3E29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E29B2
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29B2#FFFFFF#000000##FFFFFF
##3E29B21.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e29b2;
/* rgb */ color: rgb(62, 41, 178);
/* oklch */ color: oklch(40.9% 0.202 279.6);
Tailwind
colors: {
  custom: {
    50: '#8366ca',
    500: '#3e29b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e29b2;
$custom-light: #8366ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29b2",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 249.197,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.20156,
    "h": 279.6
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#3E29B2
secondary
#BAC770
accent
#E642CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E29B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3E29B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva