#3A64AB#3A64AB

#3A64AB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.123 H 260.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3A64AB
RGBrgb(58, 100, 171)
HSLhsl(218, 49%, 45%)
HSVhsv(218, 66%, 67%)
CMYKcmyk(66.1%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.69, 8.86, -42.40)
CIE-LCHlch(42.69, 43.32, 281.80°)
OKLaboklab(50.87% -0.0207 -0.1208)
OKLCHoklch(50.87% 0.123 260.3)
XYZxyz(13.6502, 12.9528, 40.3010)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64AB #AB813A
analogous
#3A9DAB #3A64AB #483AAB
triadic
#3A64AB #AB3A64 #64AB3A
tetradic
#3A64AB #AB3A9D #AB813A #3AAB48
square
#3A64AB #AB3A9D #AB813A #3AAB48
split-complementary
#3A64AB #AB483A #9DAB3A
monochromatic
#1B2F50 #2A497D #3A64AB #5B83C7 #89A6D7

Accessibility & contrast

On white

5.85
#3A64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3A64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64AB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64AB#FFFFFF#000000##FFFFFF
##3A64AB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAE
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a64ab;
/* rgb */ color: rgb(58, 100, 171);
/* oklch */ color: oklch(50.9% 0.123 260.3);
Tailwind
colors: {
  custom: {
    50: '#7c8fc4',
    500: '#3a64ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a64ab;
$custom-light: #7c8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64ab",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 217.699,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.12262,
    "h": 260.3
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#3A64AB
secondary
#C1A980
accent
#A64FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3A64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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