#3E5FD5#3E5FD5

#3E5FD5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.185 H 267.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3E5FD5
RGBrgb(62, 95, 213)
HSLhsl(227, 64%, 54%)
HSVhsv(227, 71%, 84%)
CMYKcmyk(70.9%, 55.4%, 0%, 16.5%)
CIE-LABlab(44.25, 27.89, -64.26)
CIE-LCHlch(44.25, 70.05, 293.46°)
OKLaboklab(52.98% -0.0073 -0.1851)
OKLCHoklch(52.98% 0.185 267.7)
XYZxyz(18.0849, 14.0108, 64.6891)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD5 #D5B43E
analogous
#3EABD5 #3E5FD5 #693ED5
triadic
#3E5FD5 #D53E5F #5FD53E
tetradic
#3E5FD5 #D53EAB #D5B43E #3ED569
square
#3E5FD5 #D53EAB #D5B43E #3ED569
split-complementary
#3E5FD5 #D5693E #ABD53E
monochromatic
#1B317D #2644B0 #3E5FD5 #7089E0 #A3B2EB

Accessibility & contrast

On white

5.52
#3E5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3E5FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD5#FFFFFF#000000##FFFFFF
##3E5FD51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3e5fd5;
/* rgb */ color: rgb(62, 95, 213);
/* oklch */ color: oklch(53.0% 0.185 267.7);
Tailwind
colors: {
  custom: {
    50: '#868ce3',
    500: '#3e5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd5;
$custom-light: #868ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd5",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 226.887,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.18525,
    "h": 267.7
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#3E5FD5
secondary
#D8CA97
accent
#C341E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C15
muted
#7D7D84

Preview Lab

Preview with #3E5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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