#4A54E0#4A54E0

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

Color values

HEX#4A54E0
RGBrgb(74, 84, 224)
HSLhsl(236, 71%, 58%)
HSVhsv(236, 67%, 88%)
CMYKcmyk(67%, 62.5%, 0%, 12.2%)
CIE-LABlab(43.03, 40.18, -72.49)
CIE-LCHlch(43.03, 82.88, 299.00°)
OKLaboklab(52.51% 0.0129 -0.2091)
OKLCHoklch(52.51% 0.21 273.5)
XYZxyz(19.4444, 13.1765, 72.0252)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54E0 #E0D64A
analogous
#4A9FE0 #4A54E0 #8B4AE0
triadic
#4A54E0 #E04A54 #54E04A
tetradic
#4A54E0 #E04A9F #E0D64A #4AE08B
square
#4A54E0 #E04A9F #E0D64A #4AE08B
split-complementary
#4A54E0 #E08B4A #9FE04A
monochromatic
#1A2296 #232ECA #4A54E0 #7E85E9 #B3B7F2

Accessibility & contrast

On white

5.78
#4A54E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4A54E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54E0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54E0#FFFFFF#000000##FFFFFF
##4A54E01.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a54e0;
/* rgb */ color: rgb(74, 84, 224);
/* oklch */ color: oklch(52.5% 0.210 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e84eb',
    500: '#4a54e0',
    950: '#000000',
  },
}
SCSS
$custom: #4a54e0;
$custom-light: #8e84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54e0",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 236,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.20954,
    "h": 273.5
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#4A54E0
secondary
#E1DDA5
accent
#E23AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A54E0

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

Preview Lab → · Contrast checker → · Palette generator →

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