#3E3ED7#3E3ED7

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

Color values

HEX#3E3ED7
RGBrgb(62, 62, 215)
HSLhsl(240, 66%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(71.2%, 71.2%, 0%, 15.7%)
CIE-LABlab(36.69, 48.78, -77.76)
CIE-LCHlch(36.69, 91.79, 302.10°)
OKLaboklab(47.48% 0.0145 -0.2249)
OKLCHoklch(47.48% 0.225 273.7)
XYZxyz(15.9709, 9.3741, 65.2445)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3ED7 #D7D73E
analogous
#3E8BD7 #3E3ED7 #8B3ED7
triadic
#3E3ED7 #D73E3E #3ED73E
tetradic
#3E3ED7 #D73E8B #D7D73E #3ED78B
square
#3E3ED7 #D73E8B #D7D73E #3ED78B
split-complementary
#3E3ED7 #D78B3E #8BD73E
monochromatic
#1B1B80 #2525B3 #3E3ED7 #7171E2 #A3A3EC

Accessibility & contrast

On white

7.30
#3E3ED7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3E3ED7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3ED7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3ED7#FFFFFF#000000##FFFFFF
##3E3ED71.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e3ed7;
/* rgb */ color: rgb(62, 62, 215);
/* oklch */ color: oklch(47.5% 0.225 273.7);
Tailwind
colors: {
  custom: {
    50: '#8975e5',
    500: '#3e3ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ed7;
$custom-light: #8975e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ed7",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47484,
    "c": 0.22536,
    "h": 273.7
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#3E3ED7
secondary
#D9D998
accent
#E93FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3E3ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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