#3E2DB4#3E2DB4

#3E2DB4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.200 H 278.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB4
RGBrgb(62, 45, 180)
HSLhsl(248, 60%, 44%)
HSVhsv(248, 75%, 71%)
CMYKcmyk(65.6%, 75%, 0%, 29.4%)
CIE-LABlab(29.90, 47.00, -68.48)
CIE-LCHlch(29.90, 83.05, 304.46°)
OKLaboklab(41.62% 0.0308 -0.1977)
OKLCHoklch(41.62% 0.2 278.9)
XYZxyz(11.1606, 6.1953, 43.7788)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB4 #A3B42D
analogous
#2D5FB4 #3E2DB4 #822DB4
triadic
#3E2DB4 #B43E2D #2DB43E
tetradic
#3E2DB4 #B42D5F #A3B42D #2DB482
square
#3E2DB4 #B42D5F #A3B42D #2DB482
split-complementary
#3E2DB4 #B4822D #5FB42D
monochromatic
#1C1552 #2D2183 #3E2DB4 #5D4CD2 #897DDE

Accessibility & contrast

On white

9.38
#3E2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3E2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB4
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB4#FFFFFF#000000##FFFFFF
##3E2DB41.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e2db4;
/* rgb */ color: rgb(62, 45, 180);
/* oklch */ color: oklch(41.6% 0.200 278.9);
Tailwind
colors: {
  custom: {
    50: '#8369cc',
    500: '#3e2db4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db4;
$custom-light: #8369cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db4",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 247.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.20011,
    "h": 278.9
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#3E2DB4
secondary
#BDC776
accent
#E345CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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