#3E3FD7#3E3FD7

#3E3FD7 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.224 H 273.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3E3FD7
RGBrgb(62, 63, 215)
HSLhsl(240, 66%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(71.2%, 70.7%, 0%, 15.7%)
CIE-LABlab(36.90, 48.21, -77.42)
CIE-LCHlch(36.90, 91.21, 301.91°)
OKLaboklab(47.63% 0.014 -0.2239)
OKLCHoklch(47.63% 0.224 273.6)
XYZxyz(16.0258, 9.4839, 65.2628)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FD7 #D7D63E
analogous
#3E8CD7 #3E3FD7 #8A3ED7
triadic
#3E3FD7 #D73E3F #3FD73E
tetradic
#3E3FD7 #D73E8C #D7D63E #3ED78A
square
#3E3FD7 #D73E8C #D7D63E #3ED78A
split-complementary
#3E3FD7 #D78A3E #8CD73E
monochromatic
#1B1B80 #2526B3 #3E3FD7 #7171E2 #A3A4EC

Accessibility & contrast

On white

7.25
#3E3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3E3FD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FD7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FD7#FFFFFF#000000##FFFFFF
##3E3FD71.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e3fd7;
/* rgb */ color: rgb(62, 63, 215);
/* oklch */ color: oklch(47.6% 0.224 273.6);
Tailwind
colors: {
  custom: {
    50: '#8975e5',
    500: '#3e3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fd7;
$custom-light: #8975e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fd7",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 239.608,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.22435,
    "h": 273.6
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#3E3FD7
secondary
#D9D898
accent
#E83FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3E3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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