#3E64D7#3E64D7

#3E64D7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.182 H 266.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3E64D7
RGBrgb(62, 100, 215)
HSLhsl(225, 66%, 54%)
HSVhsv(225, 71%, 84%)
CMYKcmyk(71.2%, 53.5%, 0%, 15.7%)
CIE-LABlab(45.69, 25.43, -63.06)
CIE-LCHlch(45.69, 67.99, 291.97°)
OKLaboklab(54.11% -0.0111 -0.1815)
OKLCHoklch(54.11% 0.182 266.5)
XYZxyz(18.8052, 15.0428, 66.1893)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64D7 #D7B13E
analogous
#3EB1D7 #3E64D7 #653ED7
triadic
#3E64D7 #D73E64 #64D73E
tetradic
#3E64D7 #D73EB1 #D7B13E #3ED765
square
#3E64D7 #D73EB1 #D7B13E #3ED765
split-complementary
#3E64D7 #D7653E #B1D73E
monochromatic
#1B3480 #2548B3 #3E64D7 #718DE2 #A3B5EC

Accessibility & contrast

On white

5.24
#3E64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3E64D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64D7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64D7#FFFFFF#000000##FFFFFF
##3E64D71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0774DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e64d7;
/* rgb */ color: rgb(62, 100, 215);
/* oklch */ color: oklch(54.1% 0.182 266.5);
Tailwind
colors: {
  custom: {
    50: '#868fe4',
    500: '#3e64d7',
    950: '#000000',
  },
}
SCSS
$custom: #3e64d7;
$custom-light: #868fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64d7",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 225.098,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.18184,
    "h": 266.5
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#3E64D7
secondary
#D9C998
accent
#BF3FE9
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #3E64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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