#3A64B9#3A64B9

#3A64B9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.142 H 262.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3A64B9
RGBrgb(58, 100, 185)
HSLhsl(220, 52%, 48%)
HSVhsv(220, 69%, 73%)
CMYKcmyk(68.6%, 45.9%, 0%, 27.5%)
CIE-LABlab(43.53, 13.94, -49.27)
CIE-LCHlch(43.53, 51.20, 285.80°)
OKLaboklab(51.78% -0.0181 -0.141)
OKLCHoklch(51.78% 0.142 262.7)
XYZxyz(15.0560, 13.5152, 47.7048)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64B9 #B98F3A
analogous
#3AA4B9 #3A64B9 #4F3AB9
triadic
#3A64B9 #B93A64 #64B93A
tetradic
#3A64B9 #B93AA4 #B98F3A #3AB94F
square
#3A64B9 #B93AA4 #B98F3A #3AB94F
split-complementary
#3A64B9 #B94F3A #A4B93A
monochromatic
#1D325C #2B4B8A #3A64B9 #6286CE #91AADC

Accessibility & contrast

On white

5.67
#3A64B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3A64B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64B9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64B9#FFFFFF#000000##FFFFFF
##3A64B91.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBC
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a64b9;
/* rgb */ color: rgb(58, 100, 185);
/* oklch */ color: oklch(51.8% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#7f8fce',
    500: '#3a64b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a64b9;
$custom-light: #7f8fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64b9",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 185
  },
  "hsl": {
    "h": 220.157,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.14216,
    "h": 262.7
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#3A64B9
secondary
#C7B287
accent
#AC4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A64B9

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

Preview Lab → · Contrast checker → · Palette generator →

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