#3E2FB3#3E2FB3

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

Color values

HEX#3E2FB3
RGBrgb(62, 47, 179)
HSLhsl(247, 58%, 44%)
HSVhsv(247, 74%, 70%)
CMYKcmyk(65.4%, 73.7%, 0%, 29.8%)
CIE-LABlab(30.18, 45.60, -67.41)
CIE-LCHlch(30.18, 81.39, 304.08°)
OKLaboklab(41.79% 0.0298 -0.1946)
OKLCHoklch(41.79% 0.197 278.7)
XYZxyz(11.1372, 6.3109, 43.2703)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB3 #A4B32F
analogous
#2F62B3 #3E2FB3 #802FB3
triadic
#3E2FB3 #B33E2F #2FB33E
tetradic
#3E2FB3 #B32F62 #A4B32F #2FB380
square
#3E2FB3 #B32F62 #A4B32F #2FB380
split-complementary
#3E2FB3 #B3802F #62B32F
monochromatic
#1C1652 #2D2283 #3E2FB3 #5D4FD1 #8A7FDD

Accessibility & contrast

On white

9.28
#3E2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3E2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FB3
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB3#FFFFFF#000000##FFFFFF
##3E2FB31.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2fb3;
/* rgb */ color: rgb(62, 47, 179);
/* oklch */ color: oklch(41.8% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#836acb',
    500: '#3e2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb3;
$custom-light: #836acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb3",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 246.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.1969,
    "h": 278.7
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#3E2FB3
secondary
#BDC678
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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