#3E2FB5#3E2FB5

#3E2FB5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.199 H 278.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB5
RGBrgb(62, 47, 181)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 74%, 71%)
CMYKcmyk(65.7%, 74%, 0%, 29%)
CIE-LABlab(30.38, 46.23, -68.28)
CIE-LCHlch(30.38, 82.46, 304.10°)
OKLaboklab(41.99% 0.0294 -0.1972)
OKLCHoklch(41.99% 0.199 278.5)
XYZxyz(11.3409, 6.3924, 44.3433)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB5 #A6B52F
analogous
#2F63B5 #3E2FB5 #812FB5
triadic
#3E2FB5 #B53E2F #2FB53E
tetradic
#3E2FB5 #B52F63 #A6B52F #2FB581
square
#3E2FB5 #B52F63 #A6B52F #2FB581
split-complementary
#3E2FB5 #B5812F #63B52F
monochromatic
#1D1654 #2D2284 #3E2FB5 #5E50D1 #8B80DE

Accessibility & contrast

On white

9.22
#3E2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3E2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FB5
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB5#FFFFFF#000000##FFFFFF
##3E2FB51.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e2fb5;
/* rgb */ color: rgb(62, 47, 181);
/* oklch */ color: oklch(42.0% 0.199 278.5);
Tailwind
colors: {
  custom: {
    50: '#836acc',
    500: '#3e2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb5;
$custom-light: #836acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb5",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 246.716,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.19934,
    "h": 278.5
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#3E2FB5
secondary
#BEC779
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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