#3A64D9#3A64D9

#3A64D9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.186 H 265.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3A64D9
RGBrgb(58, 100, 217)
HSLhsl(224, 68%, 54%)
HSVhsv(224, 73%, 85%)
CMYKcmyk(73.3%, 53.9%, 0%, 14.9%)
CIE-LABlab(45.66, 25.65, -64.25)
CIE-LCHlch(45.66, 69.18, 291.76°)
OKLaboklab(54.09% -0.0143 -0.1851)
OKLCHoklch(54.09% 0.186 265.6)
XYZxyz(18.8221, 15.0216, 67.5397)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64D9 #D9AF3A
analogous
#3AB4D9 #3A64D9 #603AD9
triadic
#3A64D9 #D93A64 #64D93A
tetradic
#3A64D9 #D93AB4 #D9AF3A #3AD960
square
#3A64D9 #D93AB4 #D9AF3A #3AD960
split-complementary
#3A64D9 #D9603A #B4D93A
monochromatic
#193480 #2349B3 #3A64D9 #6D8CE3 #A1B5ED

Accessibility & contrast

On white

5.24
#3A64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3A64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64D9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64D9#FFFFFF#000000##FFFFFF
##3A64D91.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a64d9;
/* rgb */ color: rgb(58, 100, 217);
/* oklch */ color: oklch(54.1% 0.186 265.6);
Tailwind
colors: {
  custom: {
    50: '#858fe6',
    500: '#3a64d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a64d9;
$custom-light: #858fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64d9",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 224.151,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.18564,
    "h": 265.6
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#3A64D9
secondary
#D9C795
accent
#BD3DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #3A64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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