#3E2FB4#3E2FB4

#3E2FB4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.198 H 278.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB4
RGBrgb(62, 47, 180)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 74%, 71%)
CMYKcmyk(65.6%, 73.9%, 0%, 29.4%)
CIE-LABlab(30.28, 45.92, -67.85)
CIE-LCHlch(30.28, 81.93, 304.09°)
OKLaboklab(41.89% 0.0296 -0.1959)
OKLCHoklch(41.89% 0.198 278.6)
XYZxyz(11.2387, 6.3515, 43.8049)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB4 #A5B42F
analogous
#2F63B4 #3E2FB4 #812FB4
triadic
#3E2FB4 #B43E2F #2FB43E
tetradic
#3E2FB4 #B42F63 #A5B42F #2FB481
square
#3E2FB4 #B42F63 #A5B42F #2FB481
split-complementary
#3E2FB4 #B4812F #63B42F
monochromatic
#1D1653 #2D2283 #3E2FB4 #5E4FD1 #8A80DE

Accessibility & contrast

On white

9.25
#3E2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3E2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FB4
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB4#FFFFFF#000000##FFFFFF
##3E2FB41.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2fb4;
/* rgb */ color: rgb(62, 47, 180);
/* oklch */ color: oklch(41.9% 0.198 278.6);
Tailwind
colors: {
  custom: {
    50: '#836acc',
    500: '#3e2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb4;
$custom-light: #836acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb4",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 246.767,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41893,
    "c": 0.19812,
    "h": 278.6
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#3E2FB4
secondary
#BEC778
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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