#3F2CBA#3F2CBA

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

Color values

HEX#3F2CBA
RGBrgb(63, 44, 186)
HSLhsl(248, 62%, 45%)
HSVhsv(248, 76%, 73%)
CMYKcmyk(66.1%, 76.3%, 0%, 27.1%)
CIE-LABlab(30.41, 49.48, -71.20)
CIE-LCHlch(30.41, 86.71, 304.80°)
OKLaboklab(42.18% 0.0314 -0.2056)
OKLCHoklch(42.18% 0.208 278.7)
XYZxyz(11.8107, 6.4023, 47.0582)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CBA #A7BA2C
analogous
#2C60BA #3F2CBA #862CBA
triadic
#3F2CBA #BA3F2C #2CBA3F
tetradic
#3F2CBA #BA2C60 #A7BA2C #2CBA86
square
#3F2CBA #BA2C60 #A7BA2C #2CBA86
split-complementary
#3F2CBA #BA862C #60BA2C
monochromatic
#1D1557 #2E2089 #3F2CBA #604ED5 #8D80E1

Accessibility & contrast

On white

9.21
#3F2CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3F2CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CBA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CBA#FFFFFF#000000##FFFFFF
##3F2CBA1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f2cba;
/* rgb */ color: rgb(63, 44, 186);
/* oklch */ color: oklch(42.2% 0.208 278.7);
Tailwind
colors: {
  custom: {
    50: '#8568d0',
    500: '#3f2cba',
    950: '#000000',
  },
}
SCSS
$custom: #3f2cba;
$custom-light: #8568d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2cba",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 248.028,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.20801,
    "h": 278.7
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#3F2CBA
secondary
#BFCA78
accent
#E543CF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3F2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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