#3E2EB4#3E2EB4

#3E2EB4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.199 H 278.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3E2EB4
RGBrgb(62, 46, 180)
HSLhsl(247, 59%, 44%)
HSVhsv(247, 74%, 71%)
CMYKcmyk(65.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(30.09, 46.46, -68.16)
CIE-LCHlch(30.09, 82.49, 304.28°)
OKLaboklab(41.76% 0.0302 -0.1968)
OKLCHoklch(41.76% 0.199 278.7)
XYZxyz(11.1992, 6.2725, 43.7917)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EB4 #A4B42E
analogous
#2E61B4 #3E2EB4 #812EB4
triadic
#3E2EB4 #B43E2E #2EB43E
tetradic
#3E2EB4 #B42E61 #A4B42E #2EB481
square
#3E2EB4 #B42E61 #A4B42E #2EB481
split-complementary
#3E2EB4 #B4812E #61B42E
monochromatic
#1C1553 #2D2283 #3E2EB4 #5D4ED2 #8A7EDE

Accessibility & contrast

On white

9.31
#3E2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2EB4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EB4#FFFFFF#000000##FFFFFF
##3E2EB41.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e2eb4;
/* rgb */ color: rgb(62, 46, 180);
/* oklch */ color: oklch(41.8% 0.199 278.7);
Tailwind
colors: {
  custom: {
    50: '#8369cc',
    500: '#3e2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2eb4;
$custom-light: #8369cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2eb4",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 247.164,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.19913,
    "h": 278.7
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#3E2EB4
secondary
#BDC777
accent
#E245D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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