#4A54D5#4A54D5

#4A54D5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.195 H 273.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4A54D5
RGBrgb(74, 84, 213)
HSLhsl(236, 62%, 56%)
HSVhsv(236, 65%, 84%)
CMYKcmyk(65.3%, 60.6%, 0%, 16.5%)
CIE-LABlab(42.15, 36.48, -67.64)
CIE-LCHlch(42.15, 76.85, 298.34°)
OKLaboklab(51.59% 0.0134 -0.1949)
OKLCHoklch(51.59% 0.195 273.9)
XYZxyz(18.0006, 12.5990, 64.4211)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54D5 #D5CB4A
analogous
#4A9AD5 #4A54D5 #864AD5
triadic
#4A54D5 #D54A54 #54D54A
tetradic
#4A54D5 #D54A9A #D5CB4A #4AD586
square
#4A54D5 #D54A9A #D5CB4A #4AD586
split-complementary
#4A54D5 #D5864A #9AD54A
monochromatic
#1F2686 #2B35B7 #4A54D5 #7C83E1 #ADB2EC

Accessibility & contrast

On white

5.97
#4A54D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A54D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54D5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54D5#FFFFFF#000000##FFFFFF
##4A54D51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a54d5;
/* rgb */ color: rgb(74, 84, 213);
/* oklch */ color: oklch(51.6% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c84e3',
    500: '#4a54d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a54d5;
$custom-light: #8c84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54d5",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 235.683,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19536,
    "h": 273.9
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#4A54D5
secondary
#DAD6A1
accent
#DA42E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A54D5

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

Preview Lab → · Contrast checker → · Palette generator →

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