#3E2AB9#3E2AB9

#3E2AB9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.209 H 278.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3E2AB9
RGBrgb(62, 42, 185)
HSLhsl(248, 63%, 45%)
HSVhsv(248, 77%, 73%)
CMYKcmyk(66.5%, 77.3%, 0%, 27.5%)
CIE-LABlab(29.87, 50.09, -71.50)
CIE-LCHlch(29.87, 87.30, 305.01°)
OKLaboklab(41.75% 0.0314 -0.2065)
OKLCHoklch(41.75% 0.209 278.6)
XYZxyz(11.5687, 6.1819, 46.4731)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AB9 #A5B92A
analogous
#2A5DB9 #3E2AB9 #862AB9
triadic
#3E2AB9 #B93E2A #2AB93E
tetradic
#3E2AB9 #B92A5D #A5B92A #2AB986
square
#3E2AB9 #B92A5D #A5B92A #2AB986
split-complementary
#3E2AB9 #B9862A #5DB92A
monochromatic
#1D1355 #2D1F87 #3E2AB9 #5E4AD6 #8A7CE1

Accessibility & contrast

On white

9.39
#3E2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2AB9
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AB9#FFFFFF#000000##FFFFFF
##3E2AB91.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e2ab9;
/* rgb */ color: rgb(62, 42, 185);
/* oklch */ color: oklch(41.8% 0.209 278.6);
Tailwind
colors: {
  custom: {
    50: '#8467cf',
    500: '#3e2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ab9;
$custom-light: #8467cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ab9",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 248.392,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.20888,
    "h": 278.6
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#3E2AB9
secondary
#BECA75
accent
#E642CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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