#3F2ED4#3F2ED4

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

Color values

HEX#3F2ED4
RGBrgb(63, 46, 212)
HSLhsl(246, 66%, 51%)
HSVhsv(246, 78%, 83%)
CMYKcmyk(70.3%, 78.3%, 0%, 16.9%)
CIE-LABlab(33.48, 56.35, -81.33)
CIE-LCHlch(33.48, 98.94, 304.72°)
OKLaboklab(45.14% 0.024 -0.2351)
OKLCHoklch(45.14% 0.236 275.8)
XYZxyz(14.9067, 7.7628, 62.9874)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2ED4 #C3D42E
analogous
#2E70D4 #3F2ED4 #922ED4
triadic
#3F2ED4 #D43F2E #2ED43F
tetradic
#3F2ED4 #D42E70 #C3D42E #2ED492
square
#3F2ED4 #D42E70 #C3D42E #2ED492
split-complementary
#3F2ED4 #D4922E #70D42E
monochromatic
#201770 #2F22A3 #3F2ED4 #6E61DE #9C94E9

Accessibility & contrast

On white

8.23
#3F2ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F2ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2ED4
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2ED4#FFFFFF#000000##FFFFFF
##3F2ED41.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.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: #3f2ed4;
/* rgb */ color: rgb(63, 46, 212);
/* oklch */ color: oklch(45.1% 0.236 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a6be3',
    500: '#3f2ed4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ed4;
$custom-light: #8a6be3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ed4",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 212
  },
  "hsl": {
    "h": 246.145,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.23634,
    "h": 275.8
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#3F2ED4
secondary
#CCD48A
accent
#E93FD7
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3F2ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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