#3E2DB5#3E2DB5

#3E2DB5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.201 H 278.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB5
RGBrgb(62, 45, 181)
HSLhsl(248, 60%, 44%)
HSVhsv(248, 75%, 71%)
CMYKcmyk(65.7%, 75.1%, 0%, 29%)
CIE-LABlab(30.00, 47.31, -68.91)
CIE-LCHlch(30.00, 83.58, 304.47°)
OKLaboklab(41.72% 0.0306 -0.199)
OKLCHoklch(41.72% 0.201 278.7)
XYZxyz(11.2628, 6.2362, 44.3173)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB5 #A4B52D
analogous
#2D60B5 #3E2DB5 #822DB5
triadic
#3E2DB5 #B53E2D #2DB53E
tetradic
#3E2DB5 #B52D60 #A4B52D #2DB582
square
#3E2DB5 #B52D60 #A4B52D #2DB582
split-complementary
#3E2DB5 #B5822D #60B52D
monochromatic
#1C1553 #2D2184 #3E2DB5 #5D4DD3 #8A7EDF

Accessibility & contrast

On white

9.34
#3E2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3E2DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB5
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB5#FFFFFF#000000##FFFFFF
##3E2DB51.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2db5;
/* rgb */ color: rgb(62, 45, 181);
/* oklch */ color: oklch(41.7% 0.201 278.7);
Tailwind
colors: {
  custom: {
    50: '#8369cc',
    500: '#3e2db5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db5;
$custom-light: #8369cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db5",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 247.5,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.20131,
    "h": 278.7
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#3E2DB5
secondary
#BDC776
accent
#E344CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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