#4A5FE7#4A5FE7

#4A5FE7 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.0% C 0.206 H 271.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4A5FE7
RGBrgb(74, 95, 231)
HSLhsl(232, 77%, 60%)
HSVhsv(232, 68%, 91%)
CMYKcmyk(68%, 58.9%, 0%, 9.4%)
CIE-LABlab(46.19, 35.82, -71.30)
CIE-LCHlch(46.19, 79.79, 296.67°)
OKLaboklab(55.01% 0.0044 -0.2056)
OKLCHoklch(55.01% 0.206 271.2)
XYZxyz(21.3352, 15.4077, 77.4354)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FE7 #E7D24A
analogous
#4AADE7 #4A5FE7 #844AE7
triadic
#4A5FE7 #E74A5F #5FE74A
tetradic
#4A5FE7 #E74AAD #E7D24A #4AE784
square
#4A5FE7 #E74AAD #E7D24A #4AE784
split-complementary
#4A5FE7 #E7844A #ADE74A
monochromatic
#1528A1 #1D36D7 #4A5FE7 #808FEE #B6BFF5

Accessibility & contrast

On white

5.14
#4A5FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4A5FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FE7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FE7#FFFFFF#000000##FFFFFF
##4A5FE71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a5fe7;
/* rgb */ color: rgb(74, 95, 231);
/* oklch */ color: oklch(55.0% 0.206 271.2);
Tailwind
colors: {
  custom: {
    50: '#8f8cf0',
    500: '#4a5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fe7;
$custom-light: #8f8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fe7",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 231.975,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.20561,
    "h": 271.2
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#4A5FE7
secondary
#E5DDA8
accent
#DA35F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4A5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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