#3A64C2#3A64C2

#3A64C2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.155 H 263.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3A64C2
RGBrgb(58, 100, 194)
HSLhsl(221, 54%, 49%)
HSVhsv(221, 70%, 76%)
CMYKcmyk(70.1%, 48.5%, 0%, 23.9%)
CIE-LABlab(44.10, 17.24, -53.58)
CIE-LCHlch(44.10, 56.28, 287.83°)
OKLaboklab(52.4% -0.0167 -0.1537)
OKLCHoklch(52.4% 0.155 263.8)
XYZxyz(16.0363, 13.9073, 52.8677)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64C2 #C2983A
analogous
#3AA8C2 #3A64C2 #543AC2
triadic
#3A64C2 #C23A64 #64C23A
tetradic
#3A64C2 #C23AA8 #C2983A #3AC254
square
#3A64C2 #C23AA8 #C2983A #3AC254
split-complementary
#3A64C2 #C2543A #A8C23A
monochromatic
#1E3364 #2C4C93 #3A64C2 #6788D2 #97ADE0

Accessibility & contrast

On white

5.55
#3A64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3A64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64C2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64C2#FFFFFF#000000##FFFFFF
##3A64C21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC5
Deuteranopia (green-blind)
#0762C0
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a64c2;
/* rgb */ color: rgb(58, 100, 194);
/* oklch */ color: oklch(52.4% 0.155 263.8);
Tailwind
colors: {
  custom: {
    50: '#808fd5',
    500: '#3a64c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a64c2;
$custom-light: #808fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64c2",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 221.471,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.15459,
    "h": 263.8
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#3A64C2
secondary
#CBB88D
accent
#B04ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3A64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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