#3E5FD4#3E5FD4

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

Color values

HEX#3E5FD4
RGBrgb(62, 95, 212)
HSLhsl(227, 64%, 54%)
HSVhsv(227, 71%, 83%)
CMYKcmyk(70.8%, 55.2%, 0%, 16.9%)
CIE-LABlab(44.18, 27.53, -63.80)
CIE-LCHlch(44.18, 69.49, 293.34°)
OKLaboklab(52.9% -0.0074 -0.1838)
OKLCHoklch(52.9% 0.184 267.7)
XYZxyz(17.9584, 13.9602, 64.0227)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD4 #D4B33E
analogous
#3EAAD4 #3E5FD4 #683ED4
triadic
#3E5FD4 #D43E5F #5FD43E
tetradic
#3E5FD4 #D43EAA #D4B33E #3ED468
square
#3E5FD4 #D43EAA #D4B33E #3ED468
split-complementary
#3E5FD4 #D4683E #AAD43E
monochromatic
#1C317C #2745AE #3E5FD4 #7088DF #A2B2EA

Accessibility & contrast

On white

5.54
#3E5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3E5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD4#FFFFFF#000000##FFFFFF
##3E5FD41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e5fd4;
/* rgb */ color: rgb(62, 95, 212);
/* oklch */ color: oklch(52.9% 0.184 267.7);
Tailwind
colors: {
  custom: {
    50: '#868ce2',
    500: '#3e5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd4;
$custom-light: #868ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd4",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 226.8,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.18392,
    "h": 267.7
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#3E5FD4
secondary
#D7C997
accent
#C241E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #3E5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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