#4A54E1#4A54E1

#4A54E1 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.211 H 273.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A54E1
RGBrgb(74, 84, 225)
HSLhsl(236, 72%, 59%)
HSVhsv(236, 67%, 88%)
CMYKcmyk(67.1%, 62.7%, 0%, 11.8%)
CIE-LABlab(43.11, 40.52, -72.93)
CIE-LCHlch(43.11, 83.43, 299.06°)
OKLaboklab(52.59% 0.0129 -0.2104)
OKLCHoklch(52.59% 0.211 273.5)
XYZxyz(19.5804, 13.2309, 72.7415)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54E1 #E1D74A
analogous
#4AA0E1 #4A54E1 #8B4AE1
triadic
#4A54E1 #E14A54 #54E14A
tetradic
#4A54E1 #E14AA0 #E1D74A #4AE18B
square
#4A54E1 #E14AA0 #E1D74A #4AE18B
split-complementary
#4A54E1 #E18B4A #A0E14A
monochromatic
#192197 #222DCC #4A54E1 #7E86EA #B3B7F2

Accessibility & contrast

On white

5.76
#4A54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A54E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54E1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54E1#FFFFFF#000000##FFFFFF
##4A54E11.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a54e1;
/* rgb */ color: rgb(74, 84, 225);
/* oklch */ color: oklch(52.6% 0.211 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e84eb',
    500: '#4a54e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a54e1;
$custom-light: #8e84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54e1",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 236.026,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.21081,
    "h": 273.5
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#4A54E1
secondary
#E1DDA6
accent
#E239EE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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