#3F2BB9#3F2BB9

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

Color values

HEX#3F2BB9
RGBrgb(63, 43, 185)
HSLhsl(248, 62%, 45%)
HSVhsv(248, 77%, 73%)
CMYKcmyk(65.9%, 76.8%, 0%, 27.5%)
CIE-LABlab(30.12, 49.69, -71.08)
CIE-LCHlch(30.12, 86.72, 304.96°)
OKLaboklab(41.95% 0.0322 -0.2052)
OKLCHoklch(41.95% 0.208 278.9)
XYZxyz(11.6679, 6.2863, 46.4880)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BB9 #A5B92B
analogous
#2B5EB9 #3F2BB9 #862BB9
triadic
#3F2BB9 #B93F2B #2BB93F
tetradic
#3F2BB9 #B92B5E #A5B92B #2BB986
square
#3F2BB9 #B92B5E #A5B92B #2BB986
split-complementary
#3F2BB9 #B9862B #5EB92B
monochromatic
#1D1456 #2E1F87 #3F2BB9 #5F4CD5 #8C7EE1

Accessibility & contrast

On white

9.30
#3F2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3F2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BB9
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BB9#FFFFFF#000000##FFFFFF
##3F2BB91.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2bb9;
/* rgb */ color: rgb(63, 43, 185);
/* oklch */ color: oklch(42.0% 0.208 278.9);
Tailwind
colors: {
  custom: {
    50: '#8568cf',
    500: '#3f2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2bb9;
$custom-light: #8568cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2bb9",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 248.451,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.20776,
    "h": 278.9
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#3F2BB9
secondary
#BEC976
accent
#E542CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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