#3A64E3#3A64E3

#3A64E3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.199 H 266.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3A64E3
RGBrgb(58, 100, 227)
HSLhsl(225, 75%, 56%)
HSVhsv(225, 74%, 89%)
CMYKcmyk(74.4%, 55.9%, 0%, 11%)
CIE-LABlab(46.39, 29.28, -68.75)
CIE-LCHlch(46.39, 74.72, 293.07°)
OKLaboklab(54.86% -0.0137 -0.1983)
OKLCHoklch(54.86% 0.199 266.1)
XYZxyz(20.1624, 15.5577, 74.5985)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64E3 #E3B93A
analogous
#3AB8E3 #3A64E3 #643AE3
triadic
#3A64E3 #E33A64 #64E33A
tetradic
#3A64E3 #E33AB8 #E3B93A #3AE364
square
#3A64E3 #E33AB8 #E3B93A #3AE364
split-complementary
#3A64E3 #E3643A #B8E33A
monochromatic
#14338E #1C46C4 #3A64E3 #708EEB #A5B8F2

Accessibility & contrast

On white

5.11
#3A64E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3A64E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64E3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64E3#FFFFFF#000000##FFFFFF
##3A64E31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a64e3;
/* rgb */ color: rgb(58, 100, 227);
/* oklch */ color: oklch(54.9% 0.199 266.1);
Tailwind
colors: {
  custom: {
    50: '#878fed',
    500: '#3a64e3',
    950: '#000000',
  },
}
SCSS
$custom: #3a64e3;
$custom-light: #878fed;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64e3",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 225.089,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.19878,
    "h": 266.1
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#3A64E3
secondary
#DFCE99
accent
#C336F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A64E3

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

Preview Lab → · Contrast checker → · Palette generator →

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