#4A5ED4#4A5ED4

#4A5ED4 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.182 H 271.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A5ED4
RGBrgb(74, 94, 212)
HSLhsl(231, 62%, 56%)
HSVhsv(231, 65%, 83%)
CMYKcmyk(65.1%, 55.7%, 0%, 16.9%)
CIE-LABlab(44.54, 29.91, -63.19)
CIE-LCHlch(44.54, 69.91, 295.33°)
OKLaboklab(53.34% 0.005 -0.1817)
OKLCHoklch(53.34% 0.182 271.6)
XYZxyz(18.7064, 14.2130, 64.0322)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ED4 #D4C04A
analogous
#4AA3D4 #4A5ED4 #7B4AD4
triadic
#4A5ED4 #D44A5E #5ED44A
tetradic
#4A5ED4 #D44AA3 #D4C04A #4AD47B
square
#4A5ED4 #D44AA3 #D4C04A #4AD47B
split-complementary
#4A5ED4 #D47B4A #A3D44A
monochromatic
#1F2E84 #2B3FB6 #4A5ED4 #7B8AE0 #ADB6EB

Accessibility & contrast

On white

5.46
#4A5ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4A5ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ED4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ED4#FFFFFF#000000##FFFFFF
##4A5ED41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a5ed4;
/* rgb */ color: rgb(74, 94, 212);
/* oklch */ color: oklch(53.3% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#8b8be2',
    500: '#4a5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ed4;
$custom-light: #8b8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ed4",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 231.304,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.18179,
    "h": 271.6
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#4A5ED4
secondary
#D9D1A0
accent
#CD43E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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