#3A64CD#3A64CD

#3A64CD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.170 H 264.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#3A64CD
RGBrgb(58, 100, 205)
HSLhsl(223, 60%, 52%)
HSVhsv(223, 72%, 80%)
CMYKcmyk(71.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(44.83, 21.26, -58.74)
CIE-LCHlch(44.83, 62.47, 289.90°)
OKLaboklab(53.19% -0.0154 -0.1689)
OKLCHoklch(53.19% 0.17 264.8)
XYZxyz(17.3177, 14.4198, 59.6164)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64CD #CDA33A
analogous
#3AAECD #3A64CD #5A3ACD
triadic
#3A64CD #CD3A64 #64CD3A
tetradic
#3A64CD #CD3AAE #CDA33A #3ACD5A
square
#3A64CD #CD3AAE #CDA33A #3ACD5A
split-complementary
#3A64CD #CD5A3A #AECD3A
monochromatic
#1C3470 #294BA1 #3A64CD #6B8AD9 #9CB1E6

Accessibility & contrast

On white

5.41
#3A64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#3A64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64CD#FFFFFF#000000##FFFFFF
##3A64CD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a64cd;
/* rgb */ color: rgb(58, 100, 205);
/* oklch */ color: oklch(53.2% 0.170 264.8);
Tailwind
colors: {
  custom: {
    50: '#838fdd',
    500: '#3a64cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a64cd;
$custom-light: #838fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64cd",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 222.857,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.16958,
    "h": 264.8
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#3A64CD
secondary
#D2BF91
accent
#B645E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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