#3E2FD4#3E2FD4

#3E2FD4 is a mid, highly saturated blue. Relative luminance 0.078; OKLCH L 45.2% C 0.236 H 275.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3E2FD4
RGBrgb(62, 47, 212)
HSLhsl(245, 66%, 51%)
HSVhsv(245, 78%, 83%)
CMYKcmyk(70.8%, 77.8%, 0%, 16.9%)
CIE-LABlab(33.58, 55.78, -81.17)
CIE-LCHlch(33.58, 98.49, 304.50°)
OKLaboklab(45.19% 0.0223 -0.2347)
OKLCHoklch(45.19% 0.236 275.4)
XYZxyz(14.8829, 7.8092, 62.9976)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FD4 #C5D42F
analogous
#2F72D4 #3E2FD4 #912FD4
triadic
#3E2FD4 #D43E2F #2FD43E
tetradic
#3E2FD4 #D42F72 #C5D42F #2FD491
square
#3E2FD4 #D42F72 #C5D42F #2FD491
split-complementary
#3E2FD4 #D4912F #72D42F
monochromatic
#201771 #2E22A4 #3E2FD4 #6D62DE #9C94E9

Accessibility & contrast

On white

8.20
#3E2FD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3E2FD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FD4
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FD4#FFFFFF#000000##FFFFFF
##3E2FD41.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0047D1
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e2fd4;
/* rgb */ color: rgb(62, 47, 212);
/* oklch */ color: oklch(45.2% 0.236 275.4);
Tailwind
colors: {
  custom: {
    50: '#896ce3',
    500: '#3e2fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fd4;
$custom-light: #896ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fd4",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 212
  },
  "hsl": {
    "h": 245.455,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.23574,
    "h": 275.4
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#3E2FD4
secondary
#CDD48B
accent
#E93FD9
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3E2FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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