#4A5DC5#4A5DC5

#4A5DC5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.163 H 271.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A5DC5
RGBrgb(74, 93, 197)
HSLhsl(231, 51%, 53%)
HSVhsv(231, 62%, 77%)
CMYKcmyk(62.4%, 52.8%, 0%, 22.7%)
CIE-LABlab(43.23, 25.36, -56.67)
CIE-LCHlch(43.23, 62.08, 294.11°)
OKLaboklab(52.03% 0.0051 -0.1625)
OKLCHoklch(52.03% 0.163 271.8)
XYZxyz(16.8131, 13.3143, 54.4964)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5DC5 #C5B24A
analogous
#4A9AC5 #4A5DC5 #754AC5
triadic
#4A5DC5 #C54A5D #5DC54A
tetradic
#4A5DC5 #C54A9A #C5B24A #4AC575
square
#4A5DC5 #C54A9A #C5B24A #4AC575
split-complementary
#4A5DC5 #C5754A #9AC54A
monochromatic
#243071 #33449F #4A5DC5 #7886D4 #A7B0E3

Accessibility & contrast

On white

5.73
#4A5DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4A5DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5DC5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5DC5#FFFFFF#000000##FFFFFF
##4A5DC51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6CC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5dc5;
/* rgb */ color: rgb(74, 93, 197);
/* oklch */ color: oklch(52.0% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#888ad7',
    500: '#4a5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4a5dc5;
$custom-light: #888ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5dc5",
  "rgb": {
    "r": 74,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 230.732,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.16263,
    "h": 271.8
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#4A5DC5
secondary
#D0C89B
accent
#C54DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4A5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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