#3F2EB6#3F2EB6

#3F2EB6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.201 H 278.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3F2EB6
RGBrgb(63, 46, 182)
HSLhsl(248, 60%, 45%)
HSVhsv(248, 75%, 71%)
CMYKcmyk(65.4%, 74.7%, 0%, 28.6%)
CIE-LABlab(30.37, 47.20, -68.89)
CIE-LCHlch(30.37, 83.51, 304.42°)
OKLaboklab(42.03% 0.0312 -0.1989)
OKLCHoklch(42.03% 0.201 278.9)
XYZxyz(11.4677, 6.3872, 44.8754)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EB6 #A5B62E
analogous
#2E61B6 #3F2EB6 #832EB6
triadic
#3F2EB6 #B63F2E #2EB63F
tetradic
#3F2EB6 #B62E61 #A5B62E #2EB683
square
#3F2EB6 #B62E61 #A5B62E #2EB683
split-complementary
#3F2EB6 #B6832E #61B62E
monochromatic
#1D1554 #2E2285 #3F2EB6 #5F4FD2 #8C80DF

Accessibility & contrast

On white

9.22
#3F2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3F2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EB6
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EB6#FFFFFF#000000##FFFFFF
##3F2EB61.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2eb6;
/* rgb */ color: rgb(63, 46, 182);
/* oklch */ color: oklch(42.0% 0.201 278.9);
Tailwind
colors: {
  custom: {
    50: '#8469cd',
    500: '#3f2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eb6;
$custom-light: #8469cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eb6",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 247.5,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.20133,
    "h": 278.9
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#3F2EB6
secondary
#BEC878
accent
#E345CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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