#3E5EC2#3E5EC2

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

Color values

HEX#3E5EC2
RGBrgb(62, 94, 194)
HSLhsl(225, 52%, 50%)
HSVhsv(225, 68%, 76%)
CMYKcmyk(68%, 51.5%, 0%, 23.9%)
CIE-LABlab(42.65, 21.69, -55.91)
CIE-LCHlch(42.65, 59.97, 291.20°)
OKLaboklab(51.35% -0.0079 -0.1606)
OKLCHoklch(51.35% 0.161 267.2)
XYZxyz(15.7235, 12.9230, 52.6942)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EC2 #C2A23E
analogous
#3EA0C2 #3E5EC2 #603EC2
triadic
#3E5EC2 #C23E5E #5EC23E
tetradic
#3E5EC2 #C23EA0 #C2A23E #3EC260
square
#3E5EC2 #C23EA0 #C2A23E #3EC260
split-complementary
#3E5EC2 #C2603E #A0C23E
monochromatic
#203166 #2F4794 #3E5EC2 #6D85D1 #9BACDF

Accessibility & contrast

On white

5.86
#3E5EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3E5EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5EC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5EC2#FFFFFF#000000##FFFFFF
##3E5EC21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5ec2;
/* rgb */ color: rgb(62, 94, 194);
/* oklch */ color: oklch(51.3% 0.161 267.2);
Tailwind
colors: {
  custom: {
    50: '#828bd5',
    500: '#3e5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ec2;
$custom-light: #828bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ec2",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 225.455,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.16075,
    "h": 267.2
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#3E5EC2
secondary
#CBBD90
accent
#B94CDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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