#3E5FD2#3E5FD2

#3E5FD2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.181 H 267.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3E5FD2
RGBrgb(62, 95, 210)
HSLhsl(227, 62%, 53%)
HSVhsv(227, 70%, 82%)
CMYKcmyk(70.5%, 54.8%, 0%, 17.6%)
CIE-LABlab(44.03, 26.81, -62.89)
CIE-LCHlch(44.03, 68.37, 293.09°)
OKLaboklab(52.75% -0.0075 -0.1811)
OKLCHoklch(52.75% 0.181 267.6)
XYZxyz(17.7076, 13.8599, 62.7023)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD2 #D2B13E
analogous
#3EA9D2 #3E5FD2 #673ED2
triadic
#3E5FD2 #D23E5F #5FD23E
tetradic
#3E5FD2 #D23EA9 #D2B13E #3ED267
square
#3E5FD2 #D23EA9 #D2B13E #3ED267
split-complementary
#3E5FD2 #D2673E #A9D23E
monochromatic
#1C3179 #2845AB #3E5FD2 #7088DE #A1B1E9

Accessibility & contrast

On white

5.57
#3E5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3E5FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD2#FFFFFF#000000##FFFFFF
##3E5FD21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e5fd2;
/* rgb */ color: rgb(62, 95, 210);
/* oklch */ color: oklch(52.7% 0.181 267.6);
Tailwind
colors: {
  custom: {
    50: '#858ce1',
    500: '#3e5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd2;
$custom-light: #858ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd2",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 226.622,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.18124,
    "h": 267.6
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#3E5FD2
secondary
#D6C896
accent
#C143E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3E5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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