#4A5CD4#4A5CD4

#4A5CD4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.184 H 272.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4A5CD4
RGBrgb(74, 92, 212)
HSLhsl(232, 62%, 56%)
HSVhsv(232, 65%, 83%)
CMYKcmyk(65.1%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.03, 31.16, -64.00)
CIE-LCHlch(44.03, 71.19, 295.96°)
OKLaboklab(52.96% 0.0067 -0.1841)
OKLCHoklch(52.96% 0.184 272.1)
XYZxyz(18.5309, 13.8619, 63.9737)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5CD4 #D4C24A
analogous
#4AA1D4 #4A5CD4 #7D4AD4
triadic
#4A5CD4 #D44A5C #5CD44A
tetradic
#4A5CD4 #D44AA1 #D4C24A #4AD47D
square
#4A5CD4 #D44AA1 #D4C24A #4AD47D
split-complementary
#4A5CD4 #D47D4A #A1D44A
monochromatic
#1F2D84 #2B3DB6 #4A5CD4 #7B89E0 #ADB5EB

Accessibility & contrast

On white

5.57
#4A5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4A5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5CD4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5CD4#FFFFFF#000000##FFFFFF
##4A5CD41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5cd4;
/* rgb */ color: rgb(74, 92, 212);
/* oklch */ color: oklch(53.0% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ae2',
    500: '#4a5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4a5cd4;
$custom-light: #8b8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5cd4",
  "rgb": {
    "r": 74,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 232.174,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.18426,
    "h": 272.1
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#4A5CD4
secondary
#D9D2A0
accent
#D043E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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