#3E64CD#3E64CD

#3E64CD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.168 H 265.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3E64CD
RGBrgb(62, 100, 205)
HSLhsl(224, 59%, 52%)
HSVhsv(224, 70%, 80%)
CMYKcmyk(69.8%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.00, 21.82, -58.45)
CIE-LCHlch(45.00, 62.39, 290.47°)
OKLaboklab(53.37% -0.012 -0.1679)
OKLCHoklch(53.37% 0.168 265.9)
XYZxyz(17.5594, 14.5445, 59.6277)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64CD #CDA73E
analogous
#3EACCD #3E64CD #603ECD
triadic
#3E64CD #CD3E64 #64CD3E
tetradic
#3E64CD #CD3EAC #CDA73E #3ECD60
square
#3E64CD #CD3EAC #CDA73E #3ECD60
split-complementary
#3E64CD #CD603E #ACCD3E
monochromatic
#1E3473 #2A4BA3 #3E64CD #6F8BDA #9FB2E6

Accessibility & contrast

On white

5.37
#3E64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3E64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64CD#FFFFFF#000000##FFFFFF
##3E64CD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e64cd;
/* rgb */ color: rgb(62, 100, 205);
/* oklch */ color: oklch(53.4% 0.168 265.9);
Tailwind
colors: {
  custom: {
    50: '#848fdd',
    500: '#3e64cd',
    950: '#000000',
  },
}
SCSS
$custom: #3e64cd;
$custom-light: #848fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64cd",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 224.056,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.16838,
    "h": 265.9
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#3E64CD
secondary
#D3C294
accent
#B946E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3E64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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