#4A54ED#4A54ED

#4A54ED is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.226 H 273.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4A54ED
RGBrgb(74, 84, 237)
HSLhsl(236, 82%, 61%)
HSVhsv(236, 69%, 93%)
CMYKcmyk(68.8%, 64.6%, 0%, 7.1%)
CIE-LABlab(44.10, 44.53, -78.09)
CIE-LCHlch(44.10, 89.89, 299.69°)
OKLaboklab(53.63% 0.0121 -0.2256)
OKLCHoklch(53.63% 0.226 273.1)
XYZxyz(21.2753, 13.9089, 81.6678)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54ED #EDE34A
analogous
#4AA5ED #4A54ED #914AED
triadic
#4A54ED #ED4A54 #54ED4A
tetradic
#4A54ED #ED4AA5 #EDE34A #4AED91
square
#4A54ED #ED4AA5 #EDE34A #4AED91
split-complementary
#4A54ED #ED914A #A5ED4A
monochromatic
#111BAC #1723E3 #4A54ED #8289F3 #B9BDF8

Accessibility & contrast

On white

5.55
#4A54ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4A54ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54ED
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54ED#FFFFFF#000000##FFFFFF
##4A54ED1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0061EA
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a54ed;
/* rgb */ color: rgb(74, 84, 237);
/* oklch */ color: oklch(53.6% 0.226 273.1);
Tailwind
colors: {
  custom: {
    50: '#9184f4',
    500: '#4a54ed',
    950: '#000000',
  },
}
SCSS
$custom: #4a54ed;
$custom-light: #9184f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54ed",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 236.319,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.22588,
    "h": 273.1
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#4A54ED
secondary
#E8E4AB
accent
#D107DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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