#3F2EAC#3F2EAC

#3F2EAC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.189 H 280.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3F2EAC
RGBrgb(63, 46, 172)
HSLhsl(248, 58%, 43%)
HSVhsv(248, 73%, 67%)
CMYKcmyk(63.4%, 73.3%, 0%, 32.5%)
CIE-LABlab(29.38, 44.07, -64.54)
CIE-LCHlch(29.38, 78.16, 304.33°)
OKLaboklab(41.04% 0.0333 -0.1862)
OKLCHoklch(41.04% 0.189 280.2)
XYZxyz(10.4709, 5.9885, 39.6258)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EAC #9BAC2E
analogous
#2E5CAC #3F2EAC #7E2EAC
triadic
#3F2EAC #AC3F2E #2EAC3F
tetradic
#3F2EAC #AC2E5C #9BAC2E #2EAC7E
square
#3F2EAC #AC2E5C #9BAC2E #2EAC7E
split-complementary
#3F2EAC #AC7E2E #5CAC2E
monochromatic
#1C144B #2D217C #3F2EAC #5B49CE #8679DB

Accessibility & contrast

On white

9.56
#3F2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EAC
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EAC#FFFFFF#000000##FFFFFF
##3F2EAC1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2eac;
/* rgb */ color: rgb(63, 46, 172);
/* oklch */ color: oklch(41.0% 0.189 280.2);
Tailwind
colors: {
  custom: {
    50: '#8269c6',
    500: '#3f2eac',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eac;
$custom-light: #8269c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eac",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 248.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.18918,
    "h": 280.2
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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