#3A64C8#3A64C8

#3A64C8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.8% C 0.163 H 264.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3A64C8
RGBrgb(58, 100, 200)
HSLhsl(222, 56%, 51%)
HSVhsv(222, 71%, 78%)
CMYKcmyk(71%, 50%, 0%, 21.6%)
CIE-LABlab(44.49, 19.43, -56.41)
CIE-LCHlch(44.49, 59.66, 289.01°)
OKLaboklab(52.83% -0.0159 -0.162)
OKLCHoklch(52.83% 0.163 264.4)
XYZxyz(16.7237, 14.1823, 56.4885)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64C8 #C89E3A
analogous
#3AABC8 #3A64C8 #573AC8
triadic
#3A64C8 #C83A64 #64C83A
tetradic
#3A64C8 #C83AAB #C89E3A #3AC857
square
#3A64C8 #C83AAB #C89E3A #3AC857
split-complementary
#3A64C8 #C8573A #ABC83A
monochromatic
#1E346A #2B4C9A #3A64C8 #6A8AD5 #9AAFE3

Accessibility & contrast

On white

5.47
#3A64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3A64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64C8#FFFFFF#000000##FFFFFF
##3A64C81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a64c8;
/* rgb */ color: rgb(58, 100, 200);
/* oklch */ color: oklch(52.8% 0.163 264.4);
Tailwind
colors: {
  custom: {
    50: '#818fd9',
    500: '#3a64c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a64c8;
$custom-light: #818fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64c8",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 222.254,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.16279,
    "h": 264.4
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#3A64C8
secondary
#CEBC8F
accent
#B348E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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