#3A64AA#3A64AA

#3A64AA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.121 H 260.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3A64AA
RGBrgb(58, 100, 170)
HSLhsl(218, 49%, 45%)
HSVhsv(218, 66%, 67%)
CMYKcmyk(65.9%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.63, 8.50, -41.91)
CIE-LCHlch(42.63, 42.76, 281.46°)
OKLaboklab(50.8% -0.0209 -0.1194)
OKLCHoklch(50.8% 0.121 260)
XYZxyz(13.5552, 12.9149, 39.8009)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64AA #AA803A
analogous
#3A9CAA #3A64AA #483AAA
triadic
#3A64AA #AA3A64 #64AA3A
tetradic
#3A64AA #AA3A9C #AA803A #3AAA48
square
#3A64AA #AA3A9C #AA803A #3AAA48
split-complementary
#3A64AA #AA483A #9CAA3A
monochromatic
#1B2E4F #2A497C #3A64AA #5A83C7 #88A5D6

Accessibility & contrast

On white

5.86
#3A64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3A64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64AA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64AA#FFFFFF#000000##FFFFFF
##3A64AA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a64aa;
/* rgb */ color: rgb(58, 100, 170);
/* oklch */ color: oklch(50.8% 0.121 260.0);
Tailwind
colors: {
  custom: {
    50: '#7c8fc4',
    500: '#3a64aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a64aa;
$custom-light: #7c8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64aa",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 217.5,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.12121,
    "h": 260
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#3A64AA
secondary
#C1A87F
accent
#A54FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3A64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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