#3E64D8#3E64D8

#3E64D8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.183 H 266.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3E64D8
RGBrgb(62, 100, 216)
HSLhsl(225, 66%, 55%)
HSVhsv(225, 71%, 85%)
CMYKcmyk(71.3%, 53.7%, 0%, 15.3%)
CIE-LABlab(45.76, 25.79, -63.51)
CIE-LCHlch(45.76, 68.55, 292.10°)
OKLaboklab(54.19% -0.0111 -0.1828)
OKLCHoklch(54.19% 0.183 266.5)
XYZxyz(18.9341, 15.0944, 66.8681)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64D8 #D8B23E
analogous
#3EB1D8 #3E64D8 #653ED8
triadic
#3E64D8 #D83E64 #64D83E
tetradic
#3E64D8 #D83EB1 #D8B23E #3ED865
square
#3E64D8 #D83EB1 #D8B23E #3ED865
split-complementary
#3E64D8 #D8653E #B1D83E
monochromatic
#1A3481 #2448B4 #3E64D8 #718DE2 #A4B6ED

Accessibility & contrast

On white

5.22
#3E64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3E64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64D8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64D8#FFFFFF#000000##FFFFFF
##3E64D81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0374DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e64d8;
/* rgb */ color: rgb(62, 100, 216);
/* oklch */ color: oklch(54.2% 0.183 266.5);
Tailwind
colors: {
  custom: {
    50: '#868fe5',
    500: '#3e64d8',
    950: '#000000',
  },
}
SCSS
$custom: #3e64d8;
$custom-light: #868fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64d8",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 225.195,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.18317,
    "h": 266.5
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#3E64D8
secondary
#D9C998
accent
#BF3EE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3E64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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