#3F2EA1#3F2EA1

#3F2EA1 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.175 H 281.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA1
RGBrgb(63, 46, 161)
HSLhsl(249, 56%, 41%)
HSVhsv(249, 71%, 63%)
CMYKcmyk(60.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.34, 40.60, -59.63)
CIE-LCHlch(28.34, 72.14, 304.25°)
OKLaboklab(39.98% 0.0355 -0.1718)
OKLCHoklch(39.98% 0.175 281.7)
XYZxyz(9.4579, 5.5833, 34.2906)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA1 #90A12E
analogous
#2E56A1 #3F2EA1 #792EA1
triadic
#3F2EA1 #A13F2E #2EA13F
tetradic
#3F2EA1 #A12E56 #90A12E #2EA179
square
#3F2EA1 #A12E56 #90A12E #2EA179
split-complementary
#3F2EA1 #A1792E #56A12E
monochromatic
#1A1342 #2C2071 #3F2EA1 #5743C9 #8173D7

Accessibility & contrast

On white

9.92
#3F2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA1#FFFFFF#000000##FFFFFF
##3F2EA11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ea1;
/* rgb */ color: rgb(63, 46, 161);
/* oklch */ color: oklch(40.0% 0.175 281.7);
Tailwind
colors: {
  custom: {
    50: '#8069be',
    500: '#3f2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea1;
$custom-light: #8069be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea1",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 248.87,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.17548,
    "h": 281.7
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#3F2EA1
secondary
#B2BE6C
accent
#DF49C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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