#3E5FD1#3E5FD1

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

Color values

HEX#3E5FD1
RGBrgb(62, 95, 209)
HSLhsl(227, 62%, 53%)
HSVhsv(227, 70%, 82%)
CMYKcmyk(70.3%, 54.5%, 0%, 18%)
CIE-LABlab(43.96, 26.45, -62.44)
CIE-LCHlch(43.96, 67.81, 292.96°)
OKLaboklab(52.67% -0.0075 -0.1797)
OKLCHoklch(52.67% 0.18 267.6)
XYZxyz(17.5835, 13.8102, 62.0482)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD1 #D1B03E
analogous
#3EA8D1 #3E5FD1 #673ED1
triadic
#3E5FD1 #D13E5F #5FD13E
tetradic
#3E5FD1 #D13EA8 #D1B03E #3ED167
square
#3E5FD1 #D13EA8 #D1B03E #3ED167
split-complementary
#3E5FD1 #D1673E #A8D13E
monochromatic
#1D3178 #2845A9 #3E5FD1 #6F88DD #A1B1E9

Accessibility & contrast

On white

5.58
#3E5FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3E5FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD1#FFFFFF#000000##FFFFFF
##3E5FD11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e5fd1;
/* rgb */ color: rgb(62, 95, 209);
/* oklch */ color: oklch(52.7% 0.180 267.6);
Tailwind
colors: {
  custom: {
    50: '#858ce0',
    500: '#3e5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd1;
$custom-light: #858ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd1",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 226.531,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.17991,
    "h": 267.6
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#3E5FD1
secondary
#D5C796
accent
#C043E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3E5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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