#4A5ED6#4A5ED6

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

Color values

HEX#4A5ED6
RGBrgb(74, 94, 214)
HSLhsl(231, 63%, 56%)
HSVhsv(231, 65%, 84%)
CMYKcmyk(65.4%, 56.1%, 0%, 16.1%)
CIE-LABlab(44.68, 30.59, -64.10)
CIE-LCHlch(44.68, 71.03, 295.52°)
OKLaboklab(53.49% 0.005 -0.1844)
OKLCHoklch(53.49% 0.184 271.6)
XYZxyz(18.9603, 14.3146, 65.3691)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ED6 #D6C24A
analogous
#4AA4D6 #4A5ED6 #7C4AD6
triadic
#4A5ED6 #D64A5E #5ED64A
tetradic
#4A5ED6 #D64AA4 #D6C24A #4AD67C
square
#4A5ED6 #D64AA4 #D6C24A #4AD67C
split-complementary
#4A5ED6 #D67C4A #A4D64A
monochromatic
#1F2E87 #2A3EB9 #4A5ED6 #7C8AE1 #AEB7ED

Accessibility & contrast

On white

5.44
#4A5ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4A5ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ED6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ED6#FFFFFF#000000##FFFFFF
##4A5ED61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5ed6;
/* rgb */ color: rgb(74, 94, 214);
/* oklch */ color: oklch(53.5% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#8b8be3',
    500: '#4a5ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ed6;
$custom-light: #8b8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ed6",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 231.429,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.18447,
    "h": 271.6
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#4A5ED6
secondary
#DBD2A1
accent
#CF42E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A5ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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