#3F2BB2#3F2BB2

#3F2BB2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.199 H 279.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3F2BB2
RGBrgb(63, 43, 178)
HSLhsl(249, 61%, 43%)
HSVhsv(249, 76%, 70%)
CMYKcmyk(64.6%, 75.8%, 0%, 30.2%)
CIE-LABlab(29.41, 47.55, -68.09)
CIE-LCHlch(29.41, 83.05, 304.93°)
OKLaboklab(41.24% 0.0339 -0.1966)
OKLCHoklch(41.24% 0.199 279.8)
XYZxyz(10.9471, 5.9980, 42.6917)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BB2 #9EB22B
analogous
#2B5AB2 #3F2BB2 #822BB2
triadic
#3F2BB2 #B23F2B #2BB23F
tetradic
#3F2BB2 #B22B5A #9EB22B #2BB282
square
#3F2BB2 #B22B5A #9EB22B #2BB282
split-complementary
#3F2BB2 #B2822B #5AB22B
monochromatic
#1C134F #2E1F81 #3F2BB2 #5C48D3 #8879DF

Accessibility & contrast

On white

9.55
#3F2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BB2
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BB2#FFFFFF#000000##FFFFFF
##3F2BB21.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2bb2;
/* rgb */ color: rgb(63, 43, 178);
/* oklch */ color: oklch(41.2% 0.199 279.8);
Tailwind
colors: {
  custom: {
    50: '#8367ca',
    500: '#3f2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2bb2;
$custom-light: #8367ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2bb2",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 248.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.19947,
    "h": 279.8
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#3F2BB2
secondary
#BAC772
accent
#E444CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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