#3E2BA1#3E2BA1

#3E2BA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.179 H 281.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA1
RGBrgb(62, 43, 161)
HSLhsl(250, 58%, 40%)
HSVhsv(250, 73%, 63%)
CMYKcmyk(61.5%, 73.3%, 0%, 36.9%)
CIE-LABlab(27.64, 42.15, -60.78)
CIE-LCHlch(27.64, 73.96, 304.74°)
OKLaboklab(39.46% 0.0364 -0.1752)
OKLCHoklch(39.46% 0.179 281.7)
XYZxyz(9.2815, 5.3244, 34.2499)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA1 #8EA12B
analogous
#2B53A1 #3E2BA1 #792BA1
triadic
#3E2BA1 #A13E2B #2BA13E
tetradic
#3E2BA1 #A12B53 #8EA12B #2BA179
square
#3E2BA1 #A12B53 #8EA12B #2BA179
split-complementary
#3E2BA1 #A1792B #53A12B
monochromatic
#191140 #2B1E71 #3E2BA1 #553ECB #7F6ED8

Accessibility & contrast

On white

10.17
#3E2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E2BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BA1
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA1#FFFFFF#000000##FFFFFF
##3E2BA11.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2ba1;
/* rgb */ color: rgb(62, 43, 161);
/* oklch */ color: oklch(39.5% 0.179 281.7);
Tailwind
colors: {
  custom: {
    50: '#7f67be',
    500: '#3e2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba1;
$custom-light: #7f67be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba1",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 249.661,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.17896,
    "h": 281.7
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#3E2BA1
secondary
#B1BF69
accent
#E147C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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