#4A5ED5#4A5ED5

#4A5ED5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.183 H 271.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4A5ED5
RGBrgb(74, 94, 213)
HSLhsl(231, 62%, 56%)
HSVhsv(231, 65%, 84%)
CMYKcmyk(65.3%, 55.9%, 0%, 16.5%)
CIE-LABlab(44.61, 30.25, -63.64)
CIE-LCHlch(44.61, 70.47, 295.42°)
OKLaboklab(53.42% 0.005 -0.1831)
OKLCHoklch(53.42% 0.183 271.6)
XYZxyz(18.8329, 14.2637, 64.6986)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ED5 #D5C14A
analogous
#4AA4D5 #4A5ED5 #7C4AD5
triadic
#4A5ED5 #D54A5E #5ED54A
tetradic
#4A5ED5 #D54AA4 #D5C14A #4AD57C
square
#4A5ED5 #D54AA4 #D5C14A #4AD57C
split-complementary
#4A5ED5 #D57C4A #A4D54A
monochromatic
#1F2E86 #2B3FB7 #4A5ED5 #7C8AE1 #ADB6EC

Accessibility & contrast

On white

5.45
#4A5ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A5ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ED5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ED5#FFFFFF#000000##FFFFFF
##4A5ED51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a5ed5;
/* rgb */ color: rgb(74, 94, 213);
/* oklch */ color: oklch(53.4% 0.183 271.6);
Tailwind
colors: {
  custom: {
    50: '#8b8be3',
    500: '#4a5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ed5;
$custom-light: #8b8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ed5",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 231.367,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.18313,
    "h": 271.6
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#4A5ED5
secondary
#DAD2A1
accent
#CE42E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4A5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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