#4A5CE7#4A5CE7

#4A5CE7 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.209 H 271.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4A5CE7
RGBrgb(74, 92, 231)
HSLhsl(233, 77%, 60%)
HSVhsv(233, 68%, 91%)
CMYKcmyk(68%, 60.2%, 0%, 9.4%)
CIE-LABlab(45.47, 37.67, -72.48)
CIE-LCHlch(45.47, 81.68, 297.46°)
OKLaboklab(54.48% 0.0067 -0.209)
OKLCHoklch(54.48% 0.209 271.8)
XYZxyz(21.0701, 14.8776, 77.3471)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5CE7 #E7D54A
analogous
#4AABE7 #4A5CE7 #874AE7
triadic
#4A5CE7 #E74A5C #5CE74A
tetradic
#4A5CE7 #E74AAB #E7D54A #4AE787
square
#4A5CE7 #E74AAB #E7D54A #4AE787
split-complementary
#4A5CE7 #E7874A #ABE74A
monochromatic
#1525A1 #1D32D7 #4A5CE7 #808DEE #B6BDF5

Accessibility & contrast

On white

5.28
#4A5CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4A5CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5CE7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5CE7#FFFFFF#000000##FFFFFF
##4A5CE71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a5ce7;
/* rgb */ color: rgb(74, 92, 231);
/* oklch */ color: oklch(54.5% 0.209 271.8);
Tailwind
colors: {
  custom: {
    50: '#8f8af0',
    500: '#4a5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ce7;
$custom-light: #8f8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ce7",
  "rgb": {
    "r": 74,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 233.121,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.20915,
    "h": 271.8
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#4A5CE7
secondary
#E5DEA8
accent
#DD35F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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