#3F2ABB#3F2ABB

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

Color values

HEX#3F2ABB
RGBrgb(63, 42, 187)
HSLhsl(249, 63%, 45%)
HSVhsv(249, 78%, 73%)
CMYKcmyk(66.3%, 77.5%, 0%, 26.7%)
CIE-LABlab(30.16, 50.80, -72.21)
CIE-LCHlch(30.16, 88.28, 305.13°)
OKLaboklab(42.04% 0.0322 -0.2085)
OKLCHoklch(42.04% 0.211 278.8)
XYZxyz(11.8446, 6.2996, 47.5958)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2ABB #A6BB2A
analogous
#2A5DBB #3F2ABB #882ABB
triadic
#3F2ABB #BB3F2A #2ABB3F
tetradic
#3F2ABB #BB2A5D #A6BB2A #2ABB88
square
#3F2ABB #BB2A5D #A6BB2A #2ABB88
split-complementary
#3F2ABB #BB882A #5DBB2A
monochromatic
#1D1457 #2E1F89 #3F2ABB #604CD7 #8C7DE2

Accessibility & contrast

On white

9.29
#3F2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2ABB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2ABB#FFFFFF#000000##FFFFFF
##3F2ABB1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2abb;
/* rgb */ color: rgb(63, 42, 187);
/* oklch */ color: oklch(42.0% 0.211 278.8);
Tailwind
colors: {
  custom: {
    50: '#8567d1',
    500: '#3f2abb',
    950: '#000000',
  },
}
SCSS
$custom: #3f2abb;
$custom-light: #8567d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2abb",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 248.69,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.21102,
    "h": 278.8
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#3F2ABB
secondary
#BECA76
accent
#E641CE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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