#3A64C5#3A64C5

#3A64C5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.6% C 0.159 H 264.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3A64C5
RGBrgb(58, 100, 197)
HSLhsl(222, 55%, 50%)
HSVhsv(222, 71%, 77%)
CMYKcmyk(70.6%, 49.2%, 0%, 22.7%)
CIE-LABlab(44.30, 18.33, -55.00)
CIE-LCHlch(44.30, 57.97, 288.44°)
OKLaboklab(52.62% -0.0163 -0.1579)
OKLCHoklch(52.62% 0.159 264.1)
XYZxyz(16.3766, 14.0434, 54.6601)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64C5 #C59B3A
analogous
#3AA9C5 #3A64C5 #563AC5
triadic
#3A64C5 #C53A64 #64C53A
tetradic
#3A64C5 #C53AA9 #C59B3A #3AC556
square
#3A64C5 #C53AA9 #C59B3A #3AC556
split-complementary
#3A64C5 #C5563A #A9C53A
monochromatic
#1E3466 #2C4C96 #3A64C5 #6989D3 #99AEE1

Accessibility & contrast

On white

5.51
#3A64C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3A64C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64C5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64C5#FFFFFF#000000##FFFFFF
##3A64C51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a64c5;
/* rgb */ color: rgb(58, 100, 197);
/* oklch */ color: oklch(52.6% 0.159 264.1);
Tailwind
colors: {
  custom: {
    50: '#818fd7',
    500: '#3a64c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a64c5;
$custom-light: #818fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64c5",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 197
  },
  "hsl": {
    "h": 221.871,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.1587,
    "h": 264.1
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#3A64C5
secondary
#CDBA8E
accent
#B14ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3A64C5

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

Preview Lab → · Contrast checker → · Palette generator →

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