#3E5DC4#3E5DC4

#3E5DC4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.165 H 267.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3E5DC4
RGBrgb(62, 93, 196)
HSLhsl(226, 53%, 51%)
HSVhsv(226, 68%, 77%)
CMYKcmyk(68.4%, 52.6%, 0%, 23.1%)
CIE-LABlab(42.52, 23.05, -57.28)
CIE-LCHlch(42.52, 61.74, 291.92°)
OKLaboklab(51.29% -0.0068 -0.1646)
OKLCHoklch(51.29% 0.165 267.6)
XYZxyz(15.8613, 12.8368, 53.8557)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DC4 #C4A53E
analogous
#3EA0C4 #3E5DC4 #623EC4
triadic
#3E5DC4 #C43E5D #5DC43E
tetradic
#3E5DC4 #C43EA0 #C4A53E #3EC462
square
#3E5DC4 #C43EA0 #C4A53E #3EC462
split-complementary
#3E5DC4 #C4623E #A0C43E
monochromatic
#203068 #2E4697 #3E5DC4 #6D84D2 #9CACE1

Accessibility & contrast

On white

5.89
#3E5DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3E5DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DC4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DC4#FFFFFF#000000##FFFFFF
##3E5DC41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5dc4;
/* rgb */ color: rgb(62, 93, 196);
/* oklch */ color: oklch(51.3% 0.165 267.6);
Tailwind
colors: {
  custom: {
    50: '#838ad7',
    500: '#3e5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dc4;
$custom-light: #838ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dc4",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 226.119,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.16475,
    "h": 267.6
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#3E5DC4
secondary
#CDBF91
accent
#BB4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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