#4A55C5#4A55C5

#4A55C5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.173 H 274.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4A55C5
RGBrgb(74, 85, 197)
HSLhsl(235, 51%, 53%)
HSVhsv(235, 62%, 77%)
CMYKcmyk(62.4%, 56.9%, 0%, 22.7%)
CIE-LABlab(41.19, 30.42, -59.98)
CIE-LCHlch(41.19, 67.25, 296.89°)
OKLaboklab(50.5% 0.0126 -0.1724)
OKLCHoklch(50.5% 0.173 274.2)
XYZxyz(16.1473, 11.9827, 54.2745)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A55C5 #C5BA4A
analogous
#4A92C5 #4A55C5 #7C4AC5
triadic
#4A55C5 #C54A55 #55C54A
tetradic
#4A55C5 #C54A92 #C5BA4A #4AC57C
square
#4A55C5 #C54A92 #C5BA4A #4AC57C
split-complementary
#4A55C5 #C57C4A #92C54A
monochromatic
#242B71 #333D9F #4A55C5 #7881D4 #A7ACE3

Accessibility & contrast

On white

6.18
#4A55C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4A55C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A55C5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A55C5#FFFFFF#000000##FFFFFF
##4A55C51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a55c5;
/* rgb */ color: rgb(74, 85, 197);
/* oklch */ color: oklch(50.5% 0.173 274.2);
Tailwind
colors: {
  custom: {
    50: '#8984d7',
    500: '#4a55c5',
    950: '#000000',
  },
}
SCSS
$custom: #4a55c5;
$custom-light: #8984d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a55c5",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 234.634,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.17283,
    "h": 274.2
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#4A55C5
secondary
#D0CB9B
accent
#CE4DDB
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4A55C5

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

Preview Lab → · Contrast checker → · Palette generator →

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