#3F2FB5#3F2FB5

#3F2FB5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.1% C 0.199 H 278.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3F2FB5
RGBrgb(63, 47, 181)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 74%, 71%)
CMYKcmyk(65.2%, 74%, 0%, 29%)
CIE-LABlab(30.46, 46.35, -68.15)
CIE-LCHlch(30.46, 82.41, 304.22°)
OKLaboklab(42.07% 0.0308 -0.1967)
OKLCHoklch(42.07% 0.199 278.9)
XYZxyz(11.4042, 6.4251, 44.3463)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FB5 #A5B52F
analogous
#2F62B5 #3F2FB5 #822FB5
triadic
#3F2FB5 #B53F2F #2FB53F
tetradic
#3F2FB5 #B52F62 #A5B52F #2FB582
square
#3F2FB5 #B52F62 #A5B52F #2FB582
split-complementary
#3F2FB5 #B5822F #62B52F
monochromatic
#1D1654 #2E2284 #3F2FB5 #5F50D1 #8C80DE

Accessibility & contrast

On white

9.19
#3F2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3F2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FB5
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FB5#FFFFFF#000000##FFFFFF
##3F2FB51.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f2fb5;
/* rgb */ color: rgb(63, 47, 181);
/* oklch */ color: oklch(42.1% 0.199 278.9);
Tailwind
colors: {
  custom: {
    50: '#846acc',
    500: '#3f2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fb5;
$custom-light: #846acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fb5",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 247.164,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.19913,
    "h": 278.9
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#3F2FB5
secondary
#BEC779
accent
#E246CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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