#3F2FD4#3F2FD4

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

Color values

HEX#3F2FD4
RGBrgb(63, 47, 212)
HSLhsl(246, 66%, 51%)
HSVhsv(246, 78%, 83%)
CMYKcmyk(70.3%, 77.8%, 0%, 16.9%)
CIE-LABlab(33.65, 55.86, -81.05)
CIE-LCHlch(33.65, 98.44, 304.58°)
OKLaboklab(45.26% 0.0235 -0.2343)
OKLCHoklch(45.26% 0.236 275.7)
XYZxyz(14.9462, 7.8418, 63.0005)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FD4 #C4D42F
analogous
#2F71D4 #3F2FD4 #912FD4
triadic
#3F2FD4 #D43F2F #2FD43F
tetradic
#3F2FD4 #D42F71 #C4D42F #2FD491
square
#3F2FD4 #D42F71 #C4D42F #2FD491
split-complementary
#3F2FD4 #D4912F #71D42F
monochromatic
#201771 #2E22A4 #3F2FD4 #6E62DE #9D94E9

Accessibility & contrast

On white

8.18
#3F2FD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3F2FD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FD4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FD4#FFFFFF#000000##FFFFFF
##3F2FD41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2fd4;
/* rgb */ color: rgb(63, 47, 212);
/* oklch */ color: oklch(45.3% 0.236 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ce3',
    500: '#3f2fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fd4;
$custom-light: #8a6ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fd4",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 212
  },
  "hsl": {
    "h": 245.818,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.23551,
    "h": 275.7
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#3F2FD4
secondary
#CDD48B
accent
#E93FD8
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3F2FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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