#3E2BB8#3E2BB8

#3E2BB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.207 H 278.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3E2BB8
RGBrgb(62, 43, 184)
HSLhsl(248, 62%, 45%)
HSVhsv(248, 77%, 72%)
CMYKcmyk(66.3%, 76.6%, 0%, 27.8%)
CIE-LABlab(29.94, 49.28, -70.79)
CIE-LCHlch(29.94, 86.25, 304.84°)
OKLaboklab(41.77% 0.0311 -0.2044)
OKLCHoklch(41.77% 0.207 278.6)
XYZxyz(11.4994, 6.2116, 45.9311)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BB8 #A5B82B
analogous
#2B5FB8 #3E2BB8 #852BB8
triadic
#3E2BB8 #B83E2B #2BB83E
tetradic
#3E2BB8 #B82B5F #A5B82B #2BB885
square
#3E2BB8 #B82B5F #A5B82B #2BB885
split-complementary
#3E2BB8 #B8852B #5FB82B
monochromatic
#1D1455 #2D1F86 #3E2BB8 #5E4BD5 #8A7DE1

Accessibility & contrast

On white

9.36
#3E2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3E2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BB8
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BB8#FFFFFF#000000##FFFFFF
##3E2BB81.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2bb8;
/* rgb */ color: rgb(62, 43, 184);
/* oklch */ color: oklch(41.8% 0.207 278.6);
Tailwind
colors: {
  custom: {
    50: '#8468cf',
    500: '#3e2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2bb8;
$custom-light: #8468cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2bb8",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 248.085,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.20678,
    "h": 278.6
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#3E2BB8
secondary
#BEC976
accent
#E543CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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