#3F2FC5#3F2FC5

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

Color values

HEX#3F2FC5
RGBrgb(63, 47, 197)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(68%, 76.1%, 0%, 22.7%)
CIE-LABlab(32.08, 51.31, -74.92)
CIE-LCHlch(32.08, 90.81, 304.41°)
OKLaboklab(43.69% 0.0271 -0.2165)
OKLCHoklch(43.69% 0.218 277.1)
XYZxyz(13.1412, 7.1198, 53.4942)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FC5 #B5C52F
analogous
#2F6AC5 #3F2FC5 #8A2FC5
triadic
#3F2FC5 #C53F2F #2FC53F
tetradic
#3F2FC5 #C52F6A #B5C52F #2FC58A
square
#3F2FC5 #C52F6A #B5C52F #2FC58A
split-complementary
#3F2FC5 #C58A2F #6AC52F
monochromatic
#1F1762 #2F2394 #3F2FC5 #675AD8 #948BE3

Accessibility & contrast

On white

8.66
#3F2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2FC5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FC5#FFFFFF#000000##FFFFFF
##3F2FC51.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2fc5;
/* rgb */ color: rgb(63, 47, 197);
/* oklch */ color: oklch(43.7% 0.218 277.1);
Tailwind
colors: {
  custom: {
    50: '#876bd8',
    500: '#3f2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fc5;
$custom-light: #876bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fc5",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 246.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.21818,
    "h": 277.1
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#3F2FC5
secondary
#C5CD82
accent
#E543D3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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