#3E5FD3#3E5FD3

#3E5FD3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.183 H 267.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3E5FD3
RGBrgb(62, 95, 211)
HSLhsl(227, 63%, 54%)
HSVhsv(227, 71%, 83%)
CMYKcmyk(70.6%, 55%, 0%, 17.3%)
CIE-LABlab(44.10, 27.17, -63.35)
CIE-LCHlch(44.10, 68.93, 293.22°)
OKLaboklab(52.83% -0.0074 -0.1824)
OKLCHoklch(52.83% 0.183 267.7)
XYZxyz(17.8326, 13.9099, 63.3605)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD3 #D3B23E
analogous
#3EAAD3 #3E5FD3 #673ED3
triadic
#3E5FD3 #D33E5F #5FD33E
tetradic
#3E5FD3 #D33EAA #D3B23E #3ED367
square
#3E5FD3 #D33EAA #D3B23E #3ED367
split-complementary
#3E5FD3 #D3673E #AAD33E
monochromatic
#1C317B #2745AC #3E5FD3 #7088DE #A2B2EA

Accessibility & contrast

On white

5.55
#3E5FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3E5FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD3#FFFFFF#000000##FFFFFF
##3E5FD31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e5fd3;
/* rgb */ color: rgb(62, 95, 211);
/* oklch */ color: oklch(52.8% 0.183 267.7);
Tailwind
colors: {
  custom: {
    50: '#868ce1',
    500: '#3e5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd3;
$custom-light: #868ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd3",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 226.711,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.18258,
    "h": 267.7
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#3E5FD3
secondary
#D6C896
accent
#C242E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #3E5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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