#3E2AB4#3E2AB4

#3E2AB4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.203 H 279.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3E2AB4
RGBrgb(62, 42, 180)
HSLhsl(249, 62%, 44%)
HSVhsv(249, 77%, 71%)
CMYKcmyk(65.6%, 76.7%, 0%, 29.4%)
CIE-LABlab(29.35, 48.57, -69.39)
CIE-LCHlch(29.35, 84.70, 304.99°)
OKLaboklab(41.23% 0.0326 -0.2003)
OKLCHoklch(41.23% 0.203 279.2)
XYZxyz(11.0502, 5.9744, 43.7420)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AB4 #A0B42A
analogous
#2A5BB4 #3E2AB4 #832AB4
triadic
#3E2AB4 #B43E2A #2AB43E
tetradic
#3E2AB4 #B42A5B #A0B42A #2AB483
square
#3E2AB4 #B42A5B #A0B42A #2AB483
split-complementary
#3E2AB4 #B4832A #5BB42A
monochromatic
#1C1351 #2D1E82 #3E2AB4 #5C47D4 #8879E0

Accessibility & contrast

On white

9.57
#3E2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3E2AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AB4
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AB4#FFFFFF#000000##FFFFFF
##3E2AB41.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2ab4;
/* rgb */ color: rgb(62, 42, 180);
/* oklch */ color: oklch(41.2% 0.203 279.2);
Tailwind
colors: {
  custom: {
    50: '#8367cc',
    500: '#3e2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ab4;
$custom-light: #8367cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ab4",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 248.696,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.20299,
    "h": 279.2
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#3E2AB4
secondary
#BBC872
accent
#E543CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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