#3F2DB3#3F2DB3

#3F2DB3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.6% C 0.199 H 279.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3F2DB3
RGBrgb(63, 45, 179)
HSLhsl(248, 60%, 44%)
HSVhsv(248, 75%, 70%)
CMYKcmyk(64.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(29.88, 46.80, -67.91)
CIE-LCHlch(29.88, 82.48, 304.57°)
OKLaboklab(41.6% 0.0325 -0.196)
OKLCHoklch(41.6% 0.199 279.4)
XYZxyz(11.1224, 6.1873, 43.2472)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DB3 #A1B32D
analogous
#2D5EB3 #3F2DB3 #822DB3
triadic
#3F2DB3 #B33F2D #2DB33F
tetradic
#3F2DB3 #B32D5E #A1B32D #2DB382
square
#3F2DB3 #B32D5E #A1B32D #2DB382
split-complementary
#3F2DB3 #B3822D #5EB32D
monochromatic
#1D1451 #2E2182 #3F2DB3 #5D4BD2 #897CDE

Accessibility & contrast

On white

9.39
#3F2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3F2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DB3
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DB3#FFFFFF#000000##FFFFFF
##3F2DB31.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f2db3;
/* rgb */ color: rgb(63, 45, 179);
/* oklch */ color: oklch(41.6% 0.199 279.4);
Tailwind
colors: {
  custom: {
    50: '#8369cb',
    500: '#3f2db3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2db3;
$custom-light: #8369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2db3",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 248.06,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.19871,
    "h": 279.4
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#3F2DB3
secondary
#BCC775
accent
#E345CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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