#3F2EB4#3F2EB4

#3F2EB4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.199 H 279.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3F2EB4
RGBrgb(63, 46, 180)
HSLhsl(248, 59%, 44%)
HSVhsv(248, 74%, 71%)
CMYKcmyk(65%, 74.4%, 0%, 29.4%)
CIE-LABlab(30.17, 46.58, -68.03)
CIE-LCHlch(30.17, 82.45, 304.40°)
OKLaboklab(41.83% 0.0316 -0.1964)
OKLCHoklch(41.83% 0.199 279.1)
XYZxyz(11.2625, 6.3051, 43.7947)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EB4 #A3B42E
analogous
#2E60B4 #3F2EB4 #822EB4
triadic
#3F2EB4 #B43F2E #2EB43F
tetradic
#3F2EB4 #B42E60 #A3B42E #2EB482
square
#3F2EB4 #B42E60 #A3B42E #2EB482
split-complementary
#3F2EB4 #B4822E #60B42E
monochromatic
#1D1553 #2E2283 #3F2EB4 #5E4ED2 #8A7EDE

Accessibility & contrast

On white

9.29
#3F2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2EB4
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EB4#FFFFFF#000000##FFFFFF
##3F2EB41.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2eb4;
/* rgb */ color: rgb(63, 46, 180);
/* oklch */ color: oklch(41.8% 0.199 279.1);
Tailwind
colors: {
  custom: {
    50: '#8369cc',
    500: '#3f2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eb4;
$custom-light: #8369cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eb4",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 247.612,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.19893,
    "h": 279.1
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#3F2EB4
secondary
#BDC777
accent
#E245CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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