#3F2EA5#3F2EA5

#3F2EA5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.180 H 281.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA5
RGBrgb(63, 46, 165)
HSLhsl(249, 56%, 41%)
HSVhsv(249, 72%, 65%)
CMYKcmyk(61.8%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.71, 41.86, -61.43)
CIE-LCHlch(28.71, 74.34, 304.27°)
OKLaboklab(40.36% 0.0348 -0.1771)
OKLCHoklch(40.36% 0.181 281.1)
XYZxyz(9.8163, 5.7267, 36.1781)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA5 #94A52E
analogous
#2E59A5 #3F2EA5 #7B2EA5
triadic
#3F2EA5 #A53F2E #2EA53F
tetradic
#3F2EA5 #A52E59 #94A52E #2EA57B
square
#3F2EA5 #A52E59 #94A52E #2EA57B
split-complementary
#3F2EA5 #A57B2E #59A52E
monochromatic
#1A1345 #2D2175 #3F2EA5 #5845CB #8375D8

Accessibility & contrast

On white

9.79
#3F2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2EA5
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA5#FFFFFF#000000##FFFFFF
##3F2EA51.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2ea5;
/* rgb */ color: rgb(63, 46, 165);
/* oklch */ color: oklch(40.4% 0.180 281.1);
Tailwind
colors: {
  custom: {
    50: '#8069c1',
    500: '#3f2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea5;
$custom-light: #8069c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea5",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 248.571,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.1805,
    "h": 281.1
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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