#4A5FD6#4A5FD6

#4A5FD6 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.183 H 271.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A5FD6
RGBrgb(74, 95, 214)
HSLhsl(231, 63%, 56%)
HSVhsv(231, 65%, 84%)
CMYKcmyk(65.4%, 55.6%, 0%, 16.1%)
CIE-LABlab(44.93, 29.97, -63.69)
CIE-LCHlch(44.93, 70.39, 295.20°)
OKLaboklab(53.68% 0.0042 -0.1832)
OKLCHoklch(53.68% 0.183 271.3)
XYZxyz(19.0498, 14.4936, 65.3989)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD6 #D6C14A
analogous
#4AA5D6 #4A5FD6 #7B4AD6
triadic
#4A5FD6 #D64A5F #5FD64A
tetradic
#4A5FD6 #D64AA5 #D6C14A #4AD67B
square
#4A5FD6 #D64AA5 #D6C14A #4AD67B
split-complementary
#4A5FD6 #D67B4A #A5D64A
monochromatic
#1F2E87 #2A3FB9 #4A5FD6 #7C8BE1 #AEB7ED

Accessibility & contrast

On white

5.39
#4A5FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4A5FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD6#FFFFFF#000000##FFFFFF
##4A5FD61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a5fd6;
/* rgb */ color: rgb(74, 95, 214);
/* oklch */ color: oklch(53.7% 0.183 271.3);
Tailwind
colors: {
  custom: {
    50: '#8b8ce3',
    500: '#4a5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd6;
$custom-light: #8b8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd6",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 231,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.18323,
    "h": 271.3
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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