#3E2AB1#3E2AB1

#3E2AB1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.199 H 279.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3E2AB1
RGBrgb(62, 42, 177)
HSLhsl(249, 62%, 43%)
HSVhsv(249, 76%, 69%)
CMYKcmyk(65%, 76.3%, 0%, 30.6%)
CIE-LABlab(29.04, 47.65, -68.11)
CIE-LCHlch(29.04, 83.12, 304.98°)
OKLaboklab(40.93% 0.0334 -0.1966)
OKLCHoklch(40.93% 0.199 279.6)
XYZxyz(10.7479, 5.8535, 42.1499)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AB1 #9DB12A
analogous
#2A59B1 #3E2AB1 #812AB1
triadic
#3E2AB1 #B13E2A #2AB13E
tetradic
#3E2AB1 #B12A59 #9DB12A #2AB181
square
#3E2AB1 #B12A59 #9DB12A #2AB181
split-complementary
#3E2AB1 #B1812A #59B12A
monochromatic
#1B134E #2D1E80 #3E2AB1 #5A45D3 #8677DF

Accessibility & contrast

On white

9.67
#3E2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3E2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AB1
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AB1#FFFFFF#000000##FFFFFF
##3E2AB11.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2ab1;
/* rgb */ color: rgb(62, 42, 177);
/* oklch */ color: oklch(40.9% 0.199 279.6);
Tailwind
colors: {
  custom: {
    50: '#8367ca',
    500: '#3e2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ab1;
$custom-light: #8367ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ab1",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 248.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.19942,
    "h": 279.6
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#3E2AB1
secondary
#BAC670
accent
#E543CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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