#3F2FB3#3F2FB3

#3F2FB3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.9% C 0.197 H 279.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3F2FB3
RGBrgb(63, 47, 179)
HSLhsl(247, 58%, 44%)
HSVhsv(247, 74%, 70%)
CMYKcmyk(64.8%, 73.7%, 0%, 29.8%)
CIE-LABlab(30.26, 45.72, -67.28)
CIE-LCHlch(30.26, 81.35, 304.20°)
OKLaboklab(41.87% 0.0312 -0.1942)
OKLCHoklch(41.87% 0.197 279.1)
XYZxyz(11.2005, 6.3436, 43.2733)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FB3 #A3B32F
analogous
#2F61B3 #3F2FB3 #812FB3
triadic
#3F2FB3 #B33F2F #2FB33F
tetradic
#3F2FB3 #B32F61 #A3B32F #2FB381
square
#3F2FB3 #B32F61 #A3B32F #2FB381
split-complementary
#3F2FB3 #B3812F #61B32F
monochromatic
#1D1652 #2E2283 #3F2FB3 #5E4FD1 #8A7FDD

Accessibility & contrast

On white

9.26
#3F2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3F2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FB3
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FB3#FFFFFF#000000##FFFFFF
##3F2FB31.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2fb3;
/* rgb */ color: rgb(63, 47, 179);
/* oklch */ color: oklch(41.9% 0.197 279.1);
Tailwind
colors: {
  custom: {
    50: '#836acb',
    500: '#3f2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fb3;
$custom-light: #836acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fb3",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 247.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.19671,
    "h": 279.1
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#3F2FB3
secondary
#BDC678
accent
#E246CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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