#3F2EA2#3F2EA2

#3F2EA2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.177 H 281.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA2
RGBrgb(63, 46, 162)
HSLhsl(249, 56%, 41%)
HSVhsv(249, 72%, 64%)
CMYKcmyk(61.1%, 71.6%, 0%, 36.5%)
CIE-LABlab(28.43, 40.91, -60.08)
CIE-LCHlch(28.43, 72.69, 304.25°)
OKLaboklab(40.07% 0.0354 -0.1732)
OKLCHoklch(40.07% 0.177 281.5)
XYZxyz(9.5464, 5.6187, 34.7569)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA2 #91A22E
analogous
#2E57A2 #3F2EA2 #792EA2
triadic
#3F2EA2 #A23F2E #2EA23F
tetradic
#3F2EA2 #A22E57 #91A22E #2EA279
square
#3F2EA2 #A22E57 #91A22E #2EA279
split-complementary
#3F2EA2 #A2792E #57A22E
monochromatic
#1A1343 #2C2072 #3F2EA2 #5743CA #8273D7

Accessibility & contrast

On white

9.89
#3F2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F2EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA2
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA2#FFFFFF#000000##FFFFFF
##3F2EA21.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ea2;
/* rgb */ color: rgb(63, 46, 162);
/* oklch */ color: oklch(40.1% 0.177 281.5);
Tailwind
colors: {
  custom: {
    50: '#8069bf',
    500: '#3f2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea2;
$custom-light: #8069bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea2",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 248.793,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.17674,
    "h": 281.5
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#3F2EA2
secondary
#B3BF6D
accent
#DF49C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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