#3F2EA7#3F2EA7

#3F2EA7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.183 H 280.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA7
RGBrgb(63, 46, 167)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(62.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(28.90, 42.50, -62.33)
CIE-LCHlch(28.90, 75.44, 304.29°)
OKLaboklab(40.55% 0.0344 -0.1797)
OKLCHoklch(40.55% 0.183 280.8)
XYZxyz(9.9997, 5.8000, 37.1443)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA7 #96A72E
analogous
#2E59A7 #3F2EA7 #7C2EA7
triadic
#3F2EA7 #A73F2E #2EA73F
tetradic
#3F2EA7 #A72E59 #96A72E #2EA77C
square
#3F2EA7 #A72E59 #96A72E #2EA77C
split-complementary
#3F2EA7 #A77C2E #59A72E
monochromatic
#1B1447 #2D2177 #3F2EA7 #5946CC #8476D9

Accessibility & contrast

On white

9.72
#3F2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA7
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA7#FFFFFF#000000##FFFFFF
##3F2EA71.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2ea7;
/* rgb */ color: rgb(63, 46, 167);
/* oklch */ color: oklch(40.6% 0.183 280.8);
Tailwind
colors: {
  custom: {
    50: '#8169c2',
    500: '#3f2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea7;
$custom-light: #8169c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea7",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 248.43,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.183,
    "h": 280.8
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#3F2EA7
secondary
#B6C170
accent
#E048CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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