#4A54EA#4A54EA

#4A54EA is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.222 H 273.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4A54EA
RGBrgb(74, 84, 234)
HSLhsl(236, 79%, 60%)
HSVhsv(236, 68%, 92%)
CMYKcmyk(68.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(43.85, 43.53, -76.81)
CIE-LCHlch(43.85, 88.29, 299.54°)
OKLaboklab(53.36% 0.0123 -0.2218)
OKLCHoklch(53.36% 0.222 273.2)
XYZxyz(20.8407, 13.7350, 79.3788)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54EA #EAE04A
analogous
#4AA4EA #4A54EA #904AEA
triadic
#4A54EA #EA4A54 #54EA4A
tetradic
#4A54EA #EA4AA4 #EAE04A #4AEA90
square
#4A54EA #EA4AA4 #EAE04A #4AEA90
split-complementary
#4A54EA #EA904A #A4EA4A
monochromatic
#131CA6 #1A26DD #4A54EA #8188F0 #B8BCF7

Accessibility & contrast

On white

5.60
#4A54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4A54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54EA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54EA#FFFFFF#000000##FFFFFF
##4A54EA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0060E7
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a54ea;
/* rgb */ color: rgb(74, 84, 234);
/* oklch */ color: oklch(53.4% 0.222 273.2);
Tailwind
colors: {
  custom: {
    50: '#9084f2',
    500: '#4a54ea',
    950: '#000000',
  },
}
SCSS
$custom: #4a54ea;
$custom-light: #9084f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54ea",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 236.25,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.22215,
    "h": 273.2
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#4A54EA
secondary
#E6E3A9
accent
#CE0ADC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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