#3F2EA3#3F2EA3

#3F2EA3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.178 H 281.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA3
RGBrgb(63, 46, 163)
HSLhsl(249, 56%, 41%)
HSVhsv(249, 72%, 64%)
CMYKcmyk(61.3%, 71.8%, 0%, 36.1%)
CIE-LABlab(28.52, 41.23, -60.53)
CIE-LCHlch(28.52, 73.24, 304.26°)
OKLaboklab(40.17% 0.0352 -0.1745)
OKLCHoklch(40.17% 0.178 281.4)
XYZxyz(9.6357, 5.6544, 35.2269)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA3 #92A32E
analogous
#2E57A3 #3F2EA3 #792EA3
triadic
#3F2EA3 #A33F2E #2EA33F
tetradic
#3F2EA3 #A32E57 #92A32E #2EA379
square
#3F2EA3 #A32E57 #92A32E #2EA379
split-complementary
#3F2EA3 #A3792E #57A32E
monochromatic
#1A1344 #2D2173 #3F2EA3 #5744CA #8274D8

Accessibility & contrast

On white

9.85
#3F2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA3
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA3#FFFFFF#000000##FFFFFF
##3F2EA31.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ea3;
/* rgb */ color: rgb(63, 46, 163);
/* oklch */ color: oklch(40.2% 0.178 281.4);
Tailwind
colors: {
  custom: {
    50: '#8069bf',
    500: '#3f2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea3;
$custom-light: #8069bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea3",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 248.718,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.178,
    "h": 281.4
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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