#4A54E5#4A54E5

#4A54E5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.216 H 273.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A54E5
RGBrgb(74, 84, 229)
HSLhsl(236, 75%, 59%)
HSVhsv(236, 68%, 90%)
CMYKcmyk(67.7%, 63.3%, 0%, 10.2%)
CIE-LABlab(43.44, 41.86, -74.66)
CIE-LCHlch(43.44, 85.60, 299.28°)
OKLaboklab(52.93% 0.0126 -0.2155)
OKLCHoklch(52.93% 0.216 273.3)
XYZxyz(20.1325, 13.4518, 75.6490)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54E5 #E5DB4A
analogous
#4AA2E5 #4A54E5 #8E4AE5
triadic
#4A54E5 #E54A54 #54E54A
tetradic
#4A54E5 #E54AA2 #E5DB4A #4AE58E
square
#4A54E5 #E54AA2 #E5DB4A #4AE58E
split-complementary
#4A54E5 #E58E4A #A2E54A
monochromatic
#171F9E #1E2AD3 #4A54E5 #8087ED #B5B9F4

Accessibility & contrast

On white

5.69
#4A54E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A54E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54E5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54E5#FFFFFF#000000##FFFFFF
##4A54E51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a54e5;
/* rgb */ color: rgb(74, 84, 229);
/* oklch */ color: oklch(52.9% 0.216 273.3);
Tailwind
colors: {
  custom: {
    50: '#8f84ee',
    500: '#4a54e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a54e5;
$custom-light: #8f84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54e5",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 236.129,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.21588,
    "h": 273.3
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#4A54E5
secondary
#E4E0A7
accent
#E536F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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