#3E2FB6#3E2FB6

#3E2FB6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.201 H 278.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB6
RGBrgb(62, 47, 182)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 74%, 71%)
CMYKcmyk(65.9%, 74.2%, 0%, 28.6%)
CIE-LABlab(30.48, 46.55, -68.71)
CIE-LCHlch(30.48, 82.99, 304.12°)
OKLaboklab(42.09% 0.0292 -0.1984)
OKLCHoklch(42.09% 0.201 278.4)
XYZxyz(11.4439, 6.4336, 44.8856)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB6 #A7B62F
analogous
#2F63B6 #3E2FB6 #822FB6
triadic
#3E2FB6 #B63E2F #2FB63E
tetradic
#3E2FB6 #B62F63 #A7B62F #2FB682
square
#3E2FB6 #B62F63 #A7B62F #2FB682
split-complementary
#3E2FB6 #B6822F #63B62F
monochromatic
#1D1655 #2D2285 #3E2FB6 #5F50D2 #8B81DE

Accessibility & contrast

On white

9.18
#3E2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3E2FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FB6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB6#FFFFFF#000000##FFFFFF
##3E2FB61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e2fb6;
/* rgb */ color: rgb(62, 47, 182);
/* oklch */ color: oklch(42.1% 0.201 278.4);
Tailwind
colors: {
  custom: {
    50: '#836acd',
    500: '#3e2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb6;
$custom-light: #836acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb6",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 246.667,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.20054,
    "h": 278.4
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#3E2FB6
secondary
#BFC779
accent
#E246D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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