#3E64D9#3E64D9

#3E64D9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.185 H 266.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3E64D9
RGBrgb(62, 100, 217)
HSLhsl(225, 67%, 55%)
HSVhsv(225, 71%, 85%)
CMYKcmyk(71.4%, 53.9%, 0%, 14.9%)
CIE-LABlab(45.83, 26.16, -63.97)
CIE-LCHlch(45.83, 69.11, 292.24°)
OKLaboklab(54.26% -0.011 -0.1842)
OKLCHoklch(54.26% 0.185 266.6)
XYZxyz(19.0638, 15.1462, 67.5510)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64D9 #D9B33E
analogous
#3EB2D9 #3E64D9 #653ED9
triadic
#3E64D9 #D93E64 #64D93E
tetradic
#3E64D9 #D93EB2 #D9B33E #3ED965
square
#3E64D9 #D93EB2 #D9B33E #3ED965
split-complementary
#3E64D9 #D9653E #B2D93E
monochromatic
#1A3483 #2448B6 #3E64D9 #718DE3 #A4B6ED

Accessibility & contrast

On white

5.21
#3E64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3E64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64D9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64D9#FFFFFF#000000##FFFFFF
##3E64D91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e64d9;
/* rgb */ color: rgb(62, 100, 217);
/* oklch */ color: oklch(54.3% 0.185 266.6);
Tailwind
colors: {
  custom: {
    50: '#878fe6',
    500: '#3e64d9',
    950: '#000000',
  },
}
SCSS
$custom: #3e64d9;
$custom-light: #878fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64d9",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 225.29,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.18451,
    "h": 266.6
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#3E64D9
secondary
#DACA99
accent
#C03EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3E64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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