#3F2AB8#3F2AB8

#3F2AB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.207 H 279.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3F2AB8
RGBrgb(63, 42, 184)
HSLhsl(249, 63%, 44%)
HSVhsv(249, 77%, 72%)
CMYKcmyk(65.8%, 77.2%, 0%, 27.8%)
CIE-LABlab(29.84, 49.89, -70.95)
CIE-LCHlch(29.84, 86.73, 305.12°)
OKLaboklab(41.73% 0.033 -0.2049)
OKLCHoklch(41.73% 0.208 279.2)
XYZxyz(11.5268, 6.1724, 45.9221)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AB8 #A3B82A
analogous
#2A5CB8 #3F2AB8 #862AB8
triadic
#3F2AB8 #B83F2A #2AB83F
tetradic
#3F2AB8 #B82A5C #A3B82A #2AB886
square
#3F2AB8 #B82A5C #A3B82A #2AB886
split-complementary
#3F2AB8 #B8862A #5CB82A
monochromatic
#1D1354 #2E1F86 #3F2AB8 #5E4AD6 #8A7BE1

Accessibility & contrast

On white

9.40
#3F2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3F2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2AB8
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AB8#FFFFFF#000000##FFFFFF
##3F2AB81.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f2ab8;
/* rgb */ color: rgb(63, 42, 184);
/* oklch */ color: oklch(41.7% 0.207 279.2);
Tailwind
colors: {
  custom: {
    50: '#8567cf',
    500: '#3f2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ab8;
$custom-light: #8567cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ab8",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 248.873,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.2075,
    "h": 279.2
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#3F2AB8
secondary
#BDC975
accent
#E642CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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