#3E5FCD#3E5FCD

#3E5FCD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.175 H 267.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3E5FCD
RGBrgb(62, 95, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(69.8%, 53.7%, 0%, 19.6%)
CIE-LABlab(43.68, 25.01, -60.60)
CIE-LCHlch(43.68, 65.56, 292.43°)
OKLaboklab(52.37% -0.0078 -0.1743)
OKLCHoklch(52.37% 0.175 267.4)
XYZxyz(17.0944, 13.6146, 59.4728)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FCD #CDAC3E
analogous
#3EA6CD #3E5FCD #653ECD
triadic
#3E5FCD #CD3E5F #5FCD3E
tetradic
#3E5FCD #CD3EA6 #CDAC3E #3ECD65
square
#3E5FCD #CD3EA6 #CDAC3E #3ECD65
split-complementary
#3E5FCD #CD653E #A6CD3E
monochromatic
#1E3173 #2A46A3 #3E5FCD #6F87DA #9FB0E6

Accessibility & contrast

On white

5.64
#3E5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3E5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FCD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FCD#FFFFFF#000000##FFFFFF
##3E5FCD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096ED1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3e5fcd;
/* rgb */ color: rgb(62, 95, 205);
/* oklch */ color: oklch(52.4% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#848bdd',
    500: '#3e5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fcd;
$custom-light: #848bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fcd",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 226.154,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.17453,
    "h": 267.4
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#3E5FCD
secondary
#D3C494
accent
#BE46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3E5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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