#4A54BD#4A54BD

#4A54BD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.163 H 274.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4A54BD
RGBrgb(74, 84, 189)
HSLhsl(235, 47%, 52%)
HSVhsv(235, 61%, 74%)
CMYKcmyk(60.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(40.36, 28.33, -56.66)
CIE-LCHlch(40.36, 63.35, 296.56°)
OKLaboklab(49.7% 0.0134 -0.1626)
OKLCHoklch(49.7% 0.163 274.7)
XYZxyz(15.1767, 11.4694, 49.5483)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54BD #BDB34A
analogous
#4A8EBD #4A54BD #7A4ABD
triadic
#4A54BD #BD4A54 #54BD4A
tetradic
#4A54BD #BD4A8E #BDB34A #4ABD7A
square
#4A54BD #BD4A8E #BDB34A #4ABD7A
split-complementary
#4A54BD #BD7A4A #8EBD4A
monochromatic
#262B67 #363E94 #4A54BD #777ECD #A4A9DE

Accessibility & contrast

On white

6.37
#4A54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4A54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54BD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54BD#FFFFFF#000000##FFFFFF
##4A54BD1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a54bd;
/* rgb */ color: rgb(74, 84, 189);
/* oklch */ color: oklch(49.7% 0.163 274.7);
Tailwind
colors: {
  custom: {
    50: '#8884d2',
    500: '#4a54bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a54bd;
$custom-light: #8884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54bd",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 234.783,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.16318,
    "h": 274.7
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#4A54BD
secondary
#CBC698
accent
#CB52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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