#3E2FB1#3E2FB1

#3E2FB1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.6% C 0.194 H 278.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB1
RGBrgb(62, 47, 177)
HSLhsl(247, 58%, 44%)
HSVhsv(247, 73%, 69%)
CMYKcmyk(65%, 73.4%, 0%, 30.6%)
CIE-LABlab(29.99, 44.97, -66.55)
CIE-LCHlch(29.99, 80.32, 304.05°)
OKLaboklab(41.59% 0.0302 -0.1921)
OKLCHoklch(41.59% 0.194 278.9)
XYZxyz(10.9364, 6.2306, 42.2128)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB1 #A2B12F
analogous
#2F61B1 #3E2FB1 #7F2FB1
triadic
#3E2FB1 #B13E2F #2FB13E
tetradic
#3E2FB1 #B12F61 #A2B12F #2FB17F
square
#3E2FB1 #B12F61 #A2B12F #2FB17F
split-complementary
#3E2FB1 #B17F2F #61B12F
monochromatic
#1C1550 #2D2281 #3E2FB1 #5C4DD0 #897EDD

Accessibility & contrast

On white

9.35
#3E2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3E2FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FB1
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB1#FFFFFF#000000##FFFFFF
##3E2FB11.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2fb1;
/* rgb */ color: rgb(62, 47, 177);
/* oklch */ color: oklch(41.6% 0.194 278.9);
Tailwind
colors: {
  custom: {
    50: '#826ac9',
    500: '#3e2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb1;
$custom-light: #826ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb1",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 246.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.19446,
    "h": 278.9
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#3E2FB1
secondary
#BCC576
accent
#E147CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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