#3F2EB5#3F2EB5

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

Color values

HEX#3F2EB5
RGBrgb(63, 46, 181)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 75%, 71%)
CMYKcmyk(65.2%, 74.6%, 0%, 29%)
CIE-LABlab(30.27, 46.89, -68.46)
CIE-LCHlch(30.27, 82.98, 304.41°)
OKLaboklab(41.93% 0.0314 -0.1976)
OKLCHoklch(41.93% 0.2 279)
XYZxyz(11.3647, 6.3460, 44.3331)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EB5 #A4B52E
analogous
#2E60B5 #3F2EB5 #832EB5
triadic
#3F2EB5 #B53F2E #2EB53F
tetradic
#3F2EB5 #B52E60 #A4B52E #2EB583
square
#3F2EB5 #B52E60 #A4B52E #2EB583
split-complementary
#3F2EB5 #B5832E #60B52E
monochromatic
#1D1553 #2E2284 #3F2EB5 #5F4ED2 #8B7FDE

Accessibility & contrast

On white

9.25
#3F2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3F2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EB5
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EB5#FFFFFF#000000##FFFFFF
##3F2EB51.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2eb5;
/* rgb */ color: rgb(63, 46, 181);
/* oklch */ color: oklch(41.9% 0.200 279.0);
Tailwind
colors: {
  custom: {
    50: '#8469cc',
    500: '#3f2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eb5;
$custom-light: #8469cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eb5",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 247.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41933,
    "c": 0.20012,
    "h": 279
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#3F2EB5
secondary
#BDC778
accent
#E345CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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