#4A5FD5#4A5FD5

#4A5FD5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.182 H 271.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A5FD5
RGBrgb(74, 95, 213)
HSLhsl(231, 62%, 56%)
HSVhsv(231, 65%, 84%)
CMYKcmyk(65.3%, 55.4%, 0%, 16.5%)
CIE-LABlab(44.86, 29.62, -63.23)
CIE-LCHlch(44.86, 69.83, 295.10°)
OKLaboklab(53.61% 0.0041 -0.1818)
OKLCHoklch(53.61% 0.182 271.3)
XYZxyz(18.9224, 14.4426, 64.7284)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD5 #D5C04A
analogous
#4AA5D5 #4A5FD5 #7B4AD5
triadic
#4A5FD5 #D54A5F #5FD54A
tetradic
#4A5FD5 #D54AA5 #D5C04A #4AD57B
square
#4A5FD5 #D54AA5 #D5C04A #4AD57B
split-complementary
#4A5FD5 #D57B4A #A5D54A
monochromatic
#1F2F86 #2B40B7 #4A5FD5 #7C8BE1 #ADB7EC

Accessibility & contrast

On white

5.40
#4A5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4A5FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD5#FFFFFF#000000##FFFFFF
##4A5FD51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5fd5;
/* rgb */ color: rgb(74, 95, 213);
/* oklch */ color: oklch(53.6% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#8b8ce3',
    500: '#4a5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd5;
$custom-light: #8b8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd5",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 230.935,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.18189,
    "h": 271.3
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#4A5FD5
secondary
#DAD1A1
accent
#CD42E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4A5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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