#3E4ED7#3E4ED7

#3E4ED7 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.0% C 0.208 H 271.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3E4ED7
RGBrgb(62, 78, 215)
HSLhsl(234, 66%, 54%)
HSVhsv(234, 71%, 84%)
CMYKcmyk(71.2%, 63.7%, 0%, 15.7%)
CIE-LABlab(40.21, 39.28, -71.99)
CIE-LCHlch(40.21, 82.01, 298.62°)
OKLaboklab(50.03% 0.005 -0.208)
OKLCHoklch(50.03% 0.208 271.4)
XYZxyz(16.9726, 11.3775, 65.5784)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4ED7 #D7C73E
analogous
#3E9BD7 #3E4ED7 #7A3ED7
triadic
#3E4ED7 #D73E4E #4ED73E
tetradic
#3E4ED7 #D73E9B #D7C73E #3ED77A
square
#3E4ED7 #D73E9B #D7C73E #3ED77A
split-complementary
#3E4ED7 #D77A3E #9BD73E
monochromatic
#1B2580 #2534B3 #3E4ED7 #717CE2 #A3ABEC

Accessibility & contrast

On white

6.41
#3E4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3E4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4ED7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4ED7#FFFFFF#000000##FFFFFF
##3E4ED71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e4ed7;
/* rgb */ color: rgb(62, 78, 215);
/* oklch */ color: oklch(50.0% 0.208 271.4);
Tailwind
colors: {
  custom: {
    50: '#887fe4',
    500: '#3e4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ed7;
$custom-light: #887fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ed7",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 233.725,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.20805,
    "h": 271.4
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#3E4ED7
secondary
#D9D298
accent
#D73FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3E4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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