#3F2DB6#3F2DB6

#3F2DB6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.202 H 279.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3F2DB6
RGBrgb(63, 45, 182)
HSLhsl(248, 60%, 45%)
HSVhsv(248, 75%, 71%)
CMYKcmyk(65.4%, 75.3%, 0%, 28.6%)
CIE-LABlab(30.18, 47.73, -69.20)
CIE-LCHlch(30.18, 84.07, 304.60°)
OKLaboklab(41.9% 0.0318 -0.1998)
OKLCHoklch(41.9% 0.202 279)
XYZxyz(11.4291, 6.3100, 44.8626)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DB6 #A4B62D
analogous
#2D60B6 #3F2DB6 #832DB6
triadic
#3F2DB6 #B63F2D #2DB63F
tetradic
#3F2DB6 #B62D60 #A4B62D #2DB683
square
#3F2DB6 #B62D60 #A4B62D #2DB683
split-complementary
#3F2DB6 #B6832D #60B62D
monochromatic
#1D1554 #2E2185 #3F2DB6 #5F4DD3 #8B7EDF

Accessibility & contrast

On white

9.28
#3F2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2DB6
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DB6#FFFFFF#000000##FFFFFF
##3F2DB61.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2db6;
/* rgb */ color: rgb(63, 45, 182);
/* oklch */ color: oklch(41.9% 0.202 279.0);
Tailwind
colors: {
  custom: {
    50: '#8469cd',
    500: '#3f2db6',
    950: '#000000',
  },
}
SCSS
$custom: #3f2db6;
$custom-light: #8469cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2db6",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 247.883,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.20231,
    "h": 279
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#3F2DB6
secondary
#BDC877
accent
#E344CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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