#3F2EAA#3F2EAA

#3F2EAA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.187 H 280.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3F2EAA
RGBrgb(63, 46, 170)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 73%, 67%)
CMYKcmyk(62.9%, 72.9%, 0%, 33.3%)
CIE-LABlab(29.19, 43.44, -63.66)
CIE-LCHlch(29.19, 77.07, 304.31°)
OKLaboklab(40.84% 0.0338 -0.1836)
OKLCHoklch(40.84% 0.187 280.4)
XYZxyz(10.2803, 5.9123, 38.6219)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EAA #99AA2E
analogous
#2E5BAA #3F2EAA #7D2EAA
triadic
#3F2EAA #AA3F2E #2EAA3F
tetradic
#3F2EAA #AA2E5B #99AA2E #2EAA7D
square
#3F2EAA #AA2E5B #99AA2E #2EAA7D
split-complementary
#3F2EAA #AA7D2E #5BAA2E
monochromatic
#1B144A #2D217A #3F2EAA #5A48CD #8578DA

Accessibility & contrast

On white

9.62
#3F2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3F2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EAA
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EAA#FFFFFF#000000##FFFFFF
##3F2EAA1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2eaa;
/* rgb */ color: rgb(63, 46, 170);
/* oklch */ color: oklch(40.8% 0.187 280.4);
Tailwind
colors: {
  custom: {
    50: '#8169c4',
    500: '#3f2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eaa;
$custom-light: #8169c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eaa",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 248.226,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.18672,
    "h": 280.4
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#3F2EAA
secondary
#B7C371
accent
#E147CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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