#3A64AE#3A64AE

#3A64AE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.127 H 260.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3A64AE
RGBrgb(58, 100, 174)
HSLhsl(218, 50%, 45%)
HSVhsv(218, 67%, 68%)
CMYKcmyk(66.7%, 42.5%, 0%, 31.8%)
CIE-LABlab(42.87, 9.94, -43.89)
CIE-LCHlch(42.87, 45.00, 282.76°)
OKLaboklab(51.06% -0.0201 -0.1252)
OKLCHoklch(51.06% 0.127 260.9)
XYZxyz(13.9394, 13.0685, 41.8241)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64AE #AE843A
analogous
#3A9EAE #3A64AE #4A3AAE
triadic
#3A64AE #AE3A64 #64AE3A
tetradic
#3A64AE #AE3A9E #AE843A #3AAE4A
square
#3A64AE #AE3A9E #AE843A #3AAE4A
split-complementary
#3A64AE #AE4A3A #9EAE3A
monochromatic
#1B2F52 #2B4A80 #3A64AE #5C84C9 #8AA6D8

Accessibility & contrast

On white

5.81
#3A64AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3A64AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64AE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64AE#FFFFFF#000000##FFFFFF
##3A64AE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a64ae;
/* rgb */ color: rgb(58, 100, 174);
/* oklch */ color: oklch(51.1% 0.127 260.9);
Tailwind
colors: {
  custom: {
    50: '#7c8fc6',
    500: '#3a64ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a64ae;
$custom-light: #7c8fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64ae",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 218.276,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.12681,
    "h": 260.9
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#3A64AE
secondary
#C2AB81
accent
#A74EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3A64AE

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

Preview Lab → · Contrast checker → · Palette generator →

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