#3F2BBB#3F2BBB

#3F2BBB is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.210 H 278.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3F2BBB
RGBrgb(63, 43, 187)
HSLhsl(248, 63%, 45%)
HSVhsv(248, 77%, 73%)
CMYKcmyk(66.3%, 77%, 0%, 26.7%)
CIE-LABlab(30.33, 50.30, -71.92)
CIE-LCHlch(30.33, 87.76, 304.97°)
OKLaboklab(42.16% 0.0317 -0.2077)
OKLCHoklch(42.16% 0.21 278.7)
XYZxyz(11.8805, 6.3714, 47.6078)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BBB #A7BB2B
analogous
#2B5FBB #3F2BBB #872BBB
triadic
#3F2BBB #BB3F2B #2BBB3F
tetradic
#3F2BBB #BB2B5F #A7BB2B #2BBB87
square
#3F2BBB #BB2B5F #A7BB2B #2BBB87
split-complementary
#3F2BBB #BB872B #5FBB2B
monochromatic
#1D1457 #2E2089 #3F2BBB #604DD6 #8D7FE2

Accessibility & contrast

On white

9.23
#3F2BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2BBB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BBB#FFFFFF#000000##FFFFFF
##3F2BBB1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2bbb;
/* rgb */ color: rgb(63, 43, 187);
/* oklch */ color: oklch(42.2% 0.210 278.7);
Tailwind
colors: {
  custom: {
    50: '#8568d1',
    500: '#3f2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f2bbb;
$custom-light: #8568d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2bbb",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 248.333,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.21011,
    "h": 278.7
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#3F2BBB
secondary
#BFCA78
accent
#E642CF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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