#3E64D5#3E64D5

#3E64D5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.179 H 266.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3E64D5
RGBrgb(62, 100, 213)
HSLhsl(225, 64%, 54%)
HSVhsv(225, 71%, 84%)
CMYKcmyk(70.9%, 53.1%, 0%, 16.5%)
CIE-LABlab(45.55, 24.71, -62.14)
CIE-LCHlch(45.55, 66.88, 291.69°)
OKLaboklab(53.96% -0.0113 -0.1788)
OKLCHoklch(53.96% 0.179 266.4)
XYZxyz(18.5498, 14.9407, 64.8441)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64D5 #D5AF3E
analogous
#3EAFD5 #3E64D5 #643ED5
triadic
#3E64D5 #D53E64 #64D53E
tetradic
#3E64D5 #D53EAF #D5AF3E #3ED564
square
#3E64D5 #D53EAF #D5AF3E #3ED564
split-complementary
#3E64D5 #D5643E #AFD53E
monochromatic
#1B347D #2649B0 #3E64D5 #708CE0 #A3B5EB

Accessibility & contrast

On white

5.27
#3E64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3E64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64D5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64D5#FFFFFF#000000##FFFFFF
##3E64D51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1073D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e64d5;
/* rgb */ color: rgb(62, 100, 213);
/* oklch */ color: oklch(54.0% 0.179 266.4);
Tailwind
colors: {
  custom: {
    50: '#868fe3',
    500: '#3e64d5',
    950: '#000000',
  },
}
SCSS
$custom: #3e64d5;
$custom-light: #868fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64d5",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 224.901,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.17917,
    "h": 266.4
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#3E64D5
secondary
#D8C797
accent
#BD41E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C15
muted
#7D7D84

Preview Lab

Preview with #3E64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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