#4A54D2#4A54D2

#4A54D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.191 H 274.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4A54D2
RGBrgb(74, 84, 210)
HSLhsl(236, 60%, 56%)
HSVhsv(236, 65%, 82%)
CMYKcmyk(64.8%, 60%, 0%, 17.6%)
CIE-LABlab(41.92, 35.46, -66.30)
CIE-LCHlch(41.92, 75.18, 298.14°)
OKLaboklab(51.35% 0.0135 -0.1909)
OKLCHoklch(51.35% 0.191 274)
XYZxyz(17.6234, 12.4481, 62.4343)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54D2 #D2C84A
analogous
#4A98D2 #4A54D2 #844AD2
triadic
#4A54D2 #D24A54 #54D24A
tetradic
#4A54D2 #D24A98 #D2C84A #4AD284
square
#4A54D2 #D24A98 #D2C84A #4AD284
split-complementary
#4A54D2 #D2844A #98D24A
monochromatic
#202781 #2C36B2 #4A54D2 #7B82DE #ACB1EA

Accessibility & contrast

On white

6.02
#4A54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4A54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54D2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54D2#FFFFFF#000000##FFFFFF
##4A54D21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a54d2;
/* rgb */ color: rgb(74, 84, 210);
/* oklch */ color: oklch(51.3% 0.191 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b84e1',
    500: '#4a54d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a54d2;
$custom-light: #8b84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54d2",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 235.588,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.19142,
    "h": 274
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#4A54D2
secondary
#D8D4A0
accent
#D844E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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