#3E2FB2#3E2FB2

#3E2FB2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.196 H 278.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB2
RGBrgb(62, 47, 178)
HSLhsl(247, 58%, 44%)
HSVhsv(247, 74%, 70%)
CMYKcmyk(65.2%, 73.6%, 0%, 30.2%)
CIE-LABlab(30.09, 45.29, -66.98)
CIE-LCHlch(30.09, 80.85, 304.06°)
OKLaboklab(41.69% 0.03 -0.1934)
OKLCHoklch(41.69% 0.196 278.8)
XYZxyz(11.0364, 6.2706, 42.7396)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB2 #A3B22F
analogous
#2F62B2 #3E2FB2 #802FB2
triadic
#3E2FB2 #B23E2F #2FB23E
tetradic
#3E2FB2 #B22F62 #A3B22F #2FB280
square
#3E2FB2 #B22F62 #A3B22F #2FB280
split-complementary
#3E2FB2 #B2802F #62B22F
monochromatic
#1C1551 #2D2282 #3E2FB2 #5D4ED0 #897EDD

Accessibility & contrast

On white

9.32
#3E2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2FB2
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB2#FFFFFF#000000##FFFFFF
##3E2FB21.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2fb2;
/* rgb */ color: rgb(62, 47, 178);
/* oklch */ color: oklch(41.7% 0.196 278.8);
Tailwind
colors: {
  custom: {
    50: '#826aca',
    500: '#3e2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb2;
$custom-light: #826aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb2",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 246.87,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.19569,
    "h": 278.8
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#3E2FB2
secondary
#BDC677
accent
#E146D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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