#3E64E2#3E64E2

#3E64E2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.196 H 266.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3E64E2
RGBrgb(62, 100, 226)
HSLhsl(226, 74%, 56%)
HSVhsv(226, 73%, 89%)
CMYKcmyk(72.6%, 55.8%, 0%, 11.4%)
CIE-LABlab(46.48, 29.39, -68.02)
CIE-LCHlch(46.48, 74.10, 293.37°)
OKLaboklab(54.96% -0.0105 -0.1961)
OKLCHoklch(54.96% 0.196 266.9)
XYZxyz(20.2665, 15.6273, 73.8850)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64E2 #E2BC3E
analogous
#3EB6E2 #3E64E2 #6A3EE2
triadic
#3E64E2 #E23E64 #64E23E
tetradic
#3E64E2 #E23EB6 #E2BC3E #3EE26A
square
#3E64E2 #E23EB6 #E2BC3E #3EE26A
split-complementary
#3E64E2 #E26A3E #B6E23E
monochromatic
#163290 #1E44C5 #3E64E2 #738FEA #A8B9F2

Accessibility & contrast

On white

5.09
#3E64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3E64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64E2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64E2#FFFFFF#000000##FFFFFF
##3E64E21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3e64e2;
/* rgb */ color: rgb(62, 100, 226);
/* oklch */ color: oklch(55.0% 0.196 266.9);
Tailwind
colors: {
  custom: {
    50: '#888fec',
    500: '#3e64e2',
    950: '#000000',
  },
}
SCSS
$custom: #3e64e2;
$custom-light: #888fec;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64e2",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 226.098,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.19639,
    "h": 266.9
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#3E64E2
secondary
#E0D09C
accent
#C637F1
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3E64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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