#3F2EAB#3F2EAB

#3F2EAB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.188 H 280.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3F2EAB
RGBrgb(63, 46, 171)
HSLhsl(248, 58%, 43%)
HSVhsv(248, 73%, 67%)
CMYKcmyk(63.2%, 73.1%, 0%, 32.9%)
CIE-LABlab(29.29, 43.76, -64.10)
CIE-LCHlch(29.29, 77.61, 304.32°)
OKLaboklab(40.94% 0.0336 -0.1849)
OKLCHoklch(40.94% 0.188 280.3)
XYZxyz(10.3752, 5.9502, 39.1219)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EAB #9AAB2E
analogous
#2E5BAB #3F2EAB #7E2EAB
triadic
#3F2EAB #AB3F2E #2EAB3F
tetradic
#3F2EAB #AB2E5B #9AAB2E #2EAB7E
square
#3F2EAB #AB2E5B #9AAB2E #2EAB7E
split-complementary
#3F2EAB #AB7E2E #5BAB2E
monochromatic
#1B144B #2D217B #3F2EAB #5A48CE #8679DB

Accessibility & contrast

On white

9.59
#3F2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EAB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EAB#FFFFFF#000000##FFFFFF
##3F2EAB1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2eab;
/* rgb */ color: rgb(63, 46, 171);
/* oklch */ color: oklch(40.9% 0.188 280.3);
Tailwind
colors: {
  custom: {
    50: '#8269c5',
    500: '#3f2eab',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eab;
$custom-light: #8269c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eab",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 248.16,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.18795,
    "h": 280.3
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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