#3E64D1#3E64D1

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

Color values

HEX#3E64D1
RGBrgb(62, 100, 209)
HSLhsl(224, 62%, 53%)
HSVhsv(224, 70%, 82%)
CMYKcmyk(70.3%, 52.2%, 0%, 18%)
CIE-LABlab(45.28, 23.27, -60.30)
CIE-LCHlch(45.28, 64.64, 291.10°)
OKLaboklab(53.67% -0.0116 -0.1734)
OKLCHoklch(53.67% 0.174 266.2)
XYZxyz(18.0484, 14.7401, 62.2032)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64D1 #D1AB3E
analogous
#3EADD1 #3E64D1 #613ED1
triadic
#3E64D1 #D13E64 #64D13E
tetradic
#3E64D1 #D13EAD #D1AB3E #3ED161
square
#3E64D1 #D13EAD #D1AB3E #3ED161
split-complementary
#3E64D1 #D1613E #ADD13E
monochromatic
#1D3478 #284AA9 #3E64D1 #6F8CDD #A1B3E9

Accessibility & contrast

On white

5.32
#3E64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3E64D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64D1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64D1#FFFFFF#000000##FFFFFF
##3E64D11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B72D5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e64d1;
/* rgb */ color: rgb(62, 100, 209);
/* oklch */ color: oklch(53.7% 0.174 266.2);
Tailwind
colors: {
  custom: {
    50: '#858fe0',
    500: '#3e64d1',
    950: '#000000',
  },
}
SCSS
$custom: #3e64d1;
$custom-light: #858fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64d1",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 224.49,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.17379,
    "h": 266.2
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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