#3E2BB2#3E2BB2

#3E2BB2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.200 H 279.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3E2BB2
RGBrgb(62, 43, 178)
HSLhsl(248, 61%, 43%)
HSVhsv(248, 76%, 70%)
CMYKcmyk(65.2%, 75.8%, 0%, 30.2%)
CIE-LABlab(29.32, 47.43, -68.23)
CIE-LCHlch(29.32, 83.10, 304.81°)
OKLaboklab(41.16% 0.0325 -0.197)
OKLCHoklch(41.16% 0.2 279.4)
XYZxyz(10.8838, 5.9654, 42.6887)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BB2 #9FB22B
analogous
#2B5CB2 #3E2BB2 #812BB2
triadic
#3E2BB2 #B23E2B #2BB23E
tetradic
#3E2BB2 #B22B5C #9FB22B #2BB281
square
#3E2BB2 #B22B5C #9FB22B #2BB281
split-complementary
#3E2BB2 #B2812B #5CB22B
monochromatic
#1C134F #2D1F81 #3E2BB2 #5B48D3 #8779DF

Accessibility & contrast

On white

9.58
#3E2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3E2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BB2
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BB2#FFFFFF#000000##FFFFFF
##3E2BB21.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2bb2;
/* rgb */ color: rgb(62, 43, 178);
/* oklch */ color: oklch(41.2% 0.200 279.4);
Tailwind
colors: {
  custom: {
    50: '#8367ca',
    500: '#3e2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2bb2;
$custom-light: #8367ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2bb2",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 248.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.19966,
    "h": 279.4
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#3E2BB2
secondary
#BBC772
accent
#E444CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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