#3A64E0#3A64E0

#3A64E0 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.195 H 265.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A64E0
RGBrgb(58, 100, 224)
HSLhsl(225, 73%, 55%)
HSVhsv(225, 74%, 88%)
CMYKcmyk(74.1%, 55.4%, 0%, 12.2%)
CIE-LABlab(46.17, 28.19, -67.41)
CIE-LCHlch(46.17, 73.07, 292.70°)
OKLaboklab(54.63% -0.0139 -0.1944)
OKLCHoklch(54.63% 0.195 265.9)
XYZxyz(19.7519, 15.3935, 72.4368)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64E0 #E0B63A
analogous
#3AB7E0 #3A64E0 #633AE0
triadic
#3A64E0 #E03A64 #64E03A
tetradic
#3A64E0 #E03AB7 #E0B63A #3AE063
square
#3A64E0 #E03AB7 #E0B63A #3AE063
split-complementary
#3A64E0 #E0633A #B7E03A
monochromatic
#16338A #1E47BF #3A64E0 #6F8EE8 #A4B7F1

Accessibility & contrast

On white

5.15
#3A64E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3A64E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64E0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64E0#FFFFFF#000000##FFFFFF
##3A64E01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a64e0;
/* rgb */ color: rgb(58, 100, 224);
/* oklch */ color: oklch(54.6% 0.195 265.9);
Tailwind
colors: {
  custom: {
    50: '#878feb',
    500: '#3a64e0',
    950: '#000000',
  },
}
SCSS
$custom: #3a64e0;
$custom-light: #878feb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64e0",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 224.819,
    "s": 72.807,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.19486,
    "h": 265.9
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#3A64E0
secondary
#DECC98
accent
#C138EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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