#3E2FC5#3E2FC5

#3E2FC5 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.218 H 276.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3E2FC5
RGBrgb(62, 47, 197)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(68.5%, 76.1%, 0%, 22.7%)
CIE-LABlab(32.00, 51.21, -75.04)
CIE-LCHlch(32.00, 90.85, 304.31°)
OKLaboklab(43.62% 0.0258 -0.2169)
OKLCHoklch(43.62% 0.218 276.8)
XYZxyz(13.0779, 7.0872, 53.4913)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FC5 #B6C52F
analogous
#2F6BC5 #3E2FC5 #892FC5
triadic
#3E2FC5 #C53E2F #2FC53E
tetradic
#3E2FC5 #C52F6B #B6C52F #2FC589
square
#3E2FC5 #C52F6B #B6C52F #2FC589
split-complementary
#3E2FC5 #C5892F #6BC52F
monochromatic
#1F1762 #2E2394 #3E2FC5 #665AD8 #948BE3

Accessibility & contrast

On white

8.69
#3E2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E2FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FC5
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FC5#FFFFFF#000000##FFFFFF
##3E2FC51.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0045C2
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e2fc5;
/* rgb */ color: rgb(62, 47, 197);
/* oklch */ color: oklch(43.6% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#866bd8',
    500: '#3e2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fc5;
$custom-light: #866bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fc5",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 246,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.21841,
    "h": 276.8
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#3E2FC5
secondary
#C6CD82
accent
#E543D4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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