#3E2BAB#3E2BAB

#3E2BAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.191 H 280.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3E2BAB
RGBrgb(62, 43, 171)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(63.7%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.62, 45.27, -65.20)
CIE-LCHlch(28.62, 79.38, 304.77°)
OKLaboklab(40.45% 0.0342 -0.1882)
OKLCHoklch(40.45% 0.191 280.3)
XYZxyz(10.1988, 5.6914, 39.0813)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BAB #98AB2B
analogous
#2B58AB #3E2BAB #7E2BAB
triadic
#3E2BAB #AB3E2B #2BAB3E
tetradic
#3E2BAB #AB2B58 #98AB2B #2BAB7E
square
#3E2BAB #AB2B58 #98AB2B #2BAB7E
split-complementary
#3E2BAB #AB7E2B #58AB2B
monochromatic
#1B1249 #2C1F7A #3E2BAB #5843D0 #8474DC

Accessibility & contrast

On white

9.82
#3E2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BAB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BAB#FFFFFF#000000##FFFFFF
##3E2BAB1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2bab;
/* rgb */ color: rgb(62, 43, 171);
/* oklch */ color: oklch(40.4% 0.191 280.3);
Tailwind
colors: {
  custom: {
    50: '#8167c5',
    500: '#3e2bab',
    950: '#000000',
  },
}
SCSS
$custom: #3e2bab;
$custom-light: #8167c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2bab",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 248.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.19123,
    "h": 280.3
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#3E2BAB
secondary
#B7C46E
accent
#E345CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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