#3A64C1#3A64C1

#3A64C1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.153 H 263.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3A64C1
RGBrgb(58, 100, 193)
HSLhsl(221, 54%, 49%)
HSVhsv(221, 70%, 76%)
CMYKcmyk(69.9%, 48.2%, 0%, 24.3%)
CIE-LABlab(44.04, 16.87, -53.10)
CIE-LCHlch(44.04, 55.72, 287.62°)
OKLaboklab(52.33% -0.0169 -0.1523)
OKLCHoklch(52.33% 0.153 263.7)
XYZxyz(15.9243, 13.8625, 52.2782)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64C1 #C1973A
analogous
#3AA8C1 #3A64C1 #533AC1
triadic
#3A64C1 #C13A64 #64C13A
tetradic
#3A64C1 #C13AA8 #C1973A #3AC153
square
#3A64C1 #C13AA8 #C1973A #3AC153
split-complementary
#3A64C1 #C1533A #A8C13A
monochromatic
#1E3363 #2C4C92 #3A64C1 #6788D1 #96ADDF

Accessibility & contrast

On white

5.57
#3A64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3A64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64C1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64C1#FFFFFF#000000##FFFFFF
##3A64C11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326FC4
Deuteranopia (green-blind)
#0C62BF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a64c1;
/* rgb */ color: rgb(58, 100, 193);
/* oklch */ color: oklch(52.3% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#808fd4',
    500: '#3a64c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a64c1;
$custom-light: #808fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64c1",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 221.333,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.15321,
    "h": 263.7
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#3A64C1
secondary
#CBB78C
accent
#B04BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3A64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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