#3E5EC4#3E5EC4

#3E5EC4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.164 H 267.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3E5EC4
RGBrgb(62, 94, 196)
HSLhsl(226, 53%, 51%)
HSVhsv(226, 68%, 77%)
CMYKcmyk(68.4%, 52%, 0%, 23.1%)
CIE-LABlab(42.78, 22.41, -56.85)
CIE-LCHlch(42.78, 61.10, 291.52°)
OKLaboklab(51.49% -0.0077 -0.1633)
OKLCHoklch(51.49% 0.164 267.3)
XYZxyz(15.9497, 13.0135, 53.8851)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EC4 #C4A43E
analogous
#3EA1C4 #3E5EC4 #613EC4
triadic
#3E5EC4 #C43E5E #5EC43E
tetradic
#3E5EC4 #C43EA1 #C4A43E #3EC461
square
#3E5EC4 #C43EA1 #C4A43E #3EC461
split-complementary
#3E5EC4 #C4613E #A1C43E
monochromatic
#203168 #2E4797 #3E5EC4 #6D85D2 #9CACE1

Accessibility & contrast

On white

5.83
#3E5EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3E5EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5EC4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5EC4#FFFFFF#000000##FFFFFF
##3E5EC41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5ec4;
/* rgb */ color: rgb(62, 94, 196);
/* oklch */ color: oklch(51.5% 0.164 267.3);
Tailwind
colors: {
  custom: {
    50: '#838bd7',
    500: '#3e5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ec4;
$custom-light: #838bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ec4",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 225.672,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.1635,
    "h": 267.3
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#3E5EC4
secondary
#CDBE91
accent
#BA4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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