#3E64D2#3E64D2

#3E64D2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.175 H 266.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3E64D2
RGBrgb(62, 100, 210)
HSLhsl(225, 62%, 53%)
HSVhsv(225, 70%, 82%)
CMYKcmyk(70.5%, 52.4%, 0%, 17.6%)
CIE-LABlab(45.34, 23.63, -60.76)
CIE-LCHlch(45.34, 65.20, 291.25°)
OKLaboklab(53.74% -0.0115 -0.1748)
OKLCHoklch(53.74% 0.175 266.2)
XYZxyz(18.1726, 14.7898, 62.8573)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64D2 #D2AC3E
analogous
#3EAED2 #3E64D2 #623ED2
triadic
#3E64D2 #D23E64 #64D23E
tetradic
#3E64D2 #D23EAE #D2AC3E #3ED262
square
#3E64D2 #D23EAE #D2AC3E #3ED262
split-complementary
#3E64D2 #D2623E #AED23E
monochromatic
#1C3479 #284AAB #3E64D2 #708CDE #A1B4E9

Accessibility & contrast

On white

5.31
#3E64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3E64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64D2#FFFFFF#000000##FFFFFF
##3E64D21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1972D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e64d2;
/* rgb */ color: rgb(62, 100, 210);
/* oklch */ color: oklch(53.7% 0.175 266.2);
Tailwind
colors: {
  custom: {
    50: '#858fe0',
    500: '#3e64d2',
    950: '#000000',
  },
}
SCSS
$custom: #3e64d2;
$custom-light: #858fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64d2",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 224.595,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.17514,
    "h": 266.2
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#3E64D2
secondary
#D6C596
accent
#BB43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3E64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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