#3E4EC4#3E4EC4

#3E4EC4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.183 H 271.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3E4EC4
RGBrgb(62, 78, 196)
HSLhsl(233, 53%, 51%)
HSVhsv(233, 68%, 77%)
CMYKcmyk(68.4%, 60.2%, 0%, 23.1%)
CIE-LABlab(38.65, 32.65, -63.55)
CIE-LCHlch(38.65, 71.45, 297.19°)
OKLaboklab(48.4% 0.0056 -0.1832)
OKLCHoklch(48.4% 0.183 271.8)
XYZxyz(14.6714, 10.4570, 53.4591)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC4 #C4B43E
analogous
#3E91C4 #3E4EC4 #713EC4
triadic
#3E4EC4 #C43E4E #4EC43E
tetradic
#3E4EC4 #C43E91 #C4B43E #3EC471
square
#3E4EC4 #C43E91 #C4B43E #3EC471
split-complementary
#3E4EC4 #C4713E #91C43E
monochromatic
#202868 #2E3B97 #3E4EC4 #6D79D2 #9CA4E1

Accessibility & contrast

On white

6.79
#3E4EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3E4EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EC4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC4#FFFFFF#000000##FFFFFF
##3E4EC41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e4ec4;
/* rgb */ color: rgb(62, 78, 196);
/* oklch */ color: oklch(48.4% 0.183 271.8);
Tailwind
colors: {
  custom: {
    50: '#847fd7',
    500: '#3e4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec4;
$custom-light: #847fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec4",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 232.836,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.18334,
    "h": 271.8
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#3E4EC4
secondary
#CDC691
accent
#CB4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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