#3E3FD6#3E3FD6

#3E3FD6 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.223 H 273.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3E3FD6
RGBrgb(62, 63, 214)
HSLhsl(240, 65%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(71%, 70.6%, 0%, 16.1%)
CIE-LABlab(36.80, 47.88, -77.00)
CIE-LCHlch(36.80, 90.68, 301.87°)
OKLaboklab(47.53% 0.0141 -0.2227)
OKLCHoklch(47.53% 0.223 273.6)
XYZxyz(15.8977, 9.4326, 64.5881)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FD6 #D6D53E
analogous
#3E8BD6 #3E3FD6 #893ED6
triadic
#3E3FD6 #D63E3F #3FD63E
tetradic
#3E3FD6 #D63E8B #D6D53E #3ED689
square
#3E3FD6 #D63E8B #D6D53E #3ED689
split-complementary
#3E3FD6 #D6893E #8BD63E
monochromatic
#1B1C7F #2627B1 #3E3FD6 #7071E1 #A3A3EB

Accessibility & contrast

On white

7.27
#3E3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3E3FD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FD6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FD6#FFFFFF#000000##FFFFFF
##3E3FD61.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#004FD3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e3fd6;
/* rgb */ color: rgb(62, 63, 214);
/* oklch */ color: oklch(47.5% 0.223 273.6);
Tailwind
colors: {
  custom: {
    50: '#8975e4',
    500: '#3e3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fd6;
$custom-light: #8975e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fd6",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 239.605,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.22314,
    "h": 273.6
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#3E3FD6
secondary
#D8D898
accent
#E740E8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3E3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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