#4A64A2#4A64A2

#4A64A2 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.2% C 0.104 H 265.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4A64A2
RGBrgb(74, 100, 162)
HSLhsl(222, 37%, 46%)
HSVhsv(222, 54%, 64%)
CMYKcmyk(54.3%, 38.3%, 0%, 36.5%)
CIE-LABlab(43.03, 8.99, -36.50)
CIE-LCHlch(43.03, 37.59, 283.84°)
OKLaboklab(51.19% -0.0078 -0.1033)
OKLCHoklch(51.19% 0.104 265.7)
XYZxyz(13.9006, 13.1778, 35.9865)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A64A2 #A2884A
analogous
#4A90A2 #4A64A2 #5C4AA2
triadic
#4A64A2 #A24A64 #64A24A
tetradic
#4A64A2 #A24A90 #A2884A #4AA25C
square
#4A64A2 #A24A90 #A2884A #4AA25C
split-complementary
#4A64A2 #A25C4A #90A24A
monochromatic
#24304E #374A78 #4A64A2 #6D84BC #97A8CF

Accessibility & contrast

On white

5.78
#4A64A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4A64A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A64A2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A64A2#FFFFFF#000000##FFFFFF
##4A64A21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#1C717B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a64a2;
/* rgb */ color: rgb(74, 100, 162);
/* oklch */ color: oklch(51.2% 0.104 265.7);
Tailwind
colors: {
  custom: {
    50: '#838fbe',
    500: '#4a64a2',
    950: '#000000',
  },
}
SCSS
$custom: #4a64a2;
$custom-light: #838fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a64a2",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 222.273,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.10356,
    "h": 265.7
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#4A64A2
secondary
#BCAE8C
accent
#AB5BCD
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4A64A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4A64A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva