#3F2EA6#3F2EA6

#3F2EA6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.182 H 281.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA6
RGBrgb(63, 46, 166)
HSLhsl(249, 57%, 42%)
HSVhsv(249, 72%, 65%)
CMYKcmyk(62%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.81, 42.18, -61.88)
CIE-LCHlch(28.81, 74.89, 304.28°)
OKLaboklab(40.46% 0.0346 -0.1784)
OKLCHoklch(40.46% 0.182 281)
XYZxyz(9.9077, 5.7632, 36.6593)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA6 #95A62E
analogous
#2E59A6 #3F2EA6 #7B2EA6
triadic
#3F2EA6 #A63F2E #2EA63F
tetradic
#3F2EA6 #A62E59 #95A62E #2EA67B
square
#3F2EA6 #A62E59 #95A62E #2EA67B
split-complementary
#3F2EA6 #A67B2E #59A62E
monochromatic
#1B1346 #2D2176 #3F2EA6 #5946CC #8476D9

Accessibility & contrast

On white

9.75
#3F2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA6
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA6#FFFFFF#000000##FFFFFF
##3F2EA61.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2ea6;
/* rgb */ color: rgb(63, 46, 166);
/* oklch */ color: oklch(40.5% 0.182 281.0);
Tailwind
colors: {
  custom: {
    50: '#8169c2',
    500: '#3f2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea6;
$custom-light: #8169c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea6",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 248.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.18175,
    "h": 281
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#3F2EA6
secondary
#B5C16F
accent
#E048CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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