#3E5EC1#3E5EC1

#3E5EC1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.159 H 267.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3E5EC1
RGBrgb(62, 94, 193)
HSLhsl(225, 51%, 50%)
HSVhsv(225, 68%, 76%)
CMYKcmyk(67.9%, 51.3%, 0%, 24.3%)
CIE-LABlab(42.58, 21.33, -55.44)
CIE-LCHlch(42.58, 59.40, 291.04°)
OKLaboklab(51.27% -0.008 -0.1592)
OKLCHoklch(51.27% 0.159 267.1)
XYZxyz(15.6116, 12.8783, 52.1048)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EC1 #C1A13E
analogous
#3E9FC1 #3E5EC1 #603EC1
triadic
#3E5EC1 #C13E5E #5EC13E
tetradic
#3E5EC1 #C13E9F #C1A13E #3EC160
square
#3E5EC1 #C13E9F #C1A13E #3EC160
split-complementary
#3E5EC1 #C1603E #9FC13E
monochromatic
#203164 #2F4793 #3E5EC1 #6C85D0 #9BABDF

Accessibility & contrast

On white

5.87
#3E5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3E5EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5EC1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5EC1#FFFFFF#000000##FFFFFF
##3E5EC11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5ec1;
/* rgb */ color: rgb(62, 94, 193);
/* oklch */ color: oklch(51.3% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#828bd4',
    500: '#3e5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ec1;
$custom-light: #828bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ec1",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 225.344,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.15937,
    "h": 267.1
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#3E5EC1
secondary
#CBBC90
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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