#4A54DC#4A54DC

#4A54DC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.2% C 0.204 H 273.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4A54DC
RGBrgb(74, 84, 220)
HSLhsl(236, 68%, 58%)
HSVhsv(236, 66%, 86%)
CMYKcmyk(66.4%, 61.8%, 0%, 13.7%)
CIE-LABlab(42.71, 38.84, -70.74)
CIE-LCHlch(42.71, 80.70, 298.77°)
OKLaboklab(52.17% 0.0131 -0.204)
OKLCHoklch(52.17% 0.204 273.7)
XYZxyz(18.9083, 12.9621, 69.2017)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54DC #DCD24A
analogous
#4A9DDC #4A54DC #894ADC
triadic
#4A54DC #DC4A54 #54DC4A
tetradic
#4A54DC #DC4A9D #DCD24A #4ADC89
square
#4A54DC #DC4A9D #DCD24A #4ADC89
split-complementary
#4A54DC #DC894A #9DDC4A
monochromatic
#1C2490 #2631C3 #4A54DC #7D84E6 #B1B5F0

Accessibility & contrast

On white

5.85
#4A54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4A54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54DC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54DC#FFFFFF#000000##FFFFFF
##4A54DC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a54dc;
/* rgb */ color: rgb(74, 84, 220);
/* oklch */ color: oklch(52.2% 0.204 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d84e8',
    500: '#4a54dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a54dc;
$custom-light: #8d84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54dc",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 235.89,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.20442,
    "h": 273.7
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

primary
#4A54DC
secondary
#DEDAA4
accent
#DF3DEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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