#3E2BA2#3E2BA2

#3E2BA2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.180 H 281.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3E2BA2
RGBrgb(62, 43, 162)
HSLhsl(250, 58%, 40%)
HSVhsv(250, 73%, 64%)
CMYKcmyk(61.7%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.74, 42.46, -61.22)
CIE-LCHlch(27.74, 74.51, 304.74°)
OKLaboklab(39.56% 0.0362 -0.1765)
OKLCHoklch(39.56% 0.18 281.6)
XYZxyz(9.3700, 5.3599, 34.7162)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BA2 #8FA22B
analogous
#2B53A2 #3E2BA2 #7A2BA2
triadic
#3E2BA2 #A23E2B #2BA23E
tetradic
#3E2BA2 #A22B53 #8FA22B #2BA27A
square
#3E2BA2 #A22B53 #8FA22B #2BA27A
split-complementary
#3E2BA2 #A27A2B #53A22B
monochromatic
#191141 #2B1E72 #3E2BA2 #553ECC #806FD9

Accessibility & contrast

On white

10.13
#3E2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2BA2
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BA2#FFFFFF#000000##FFFFFF
##3E2BA21.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2ba2;
/* rgb */ color: rgb(62, 43, 162);
/* oklch */ color: oklch(39.6% 0.180 281.6);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3e2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ba2;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ba2",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 249.58,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.18021,
    "h": 281.6
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#3E2BA2
secondary
#B2C069
accent
#E147C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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