#4A54D8#4A54D8

#4A54D8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.199 H 273.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4A54D8
RGBrgb(74, 84, 216)
HSLhsl(236, 65%, 57%)
HSVhsv(236, 66%, 85%)
CMYKcmyk(65.7%, 61.1%, 0%, 15.3%)
CIE-LABlab(42.39, 37.49, -68.97)
CIE-LCHlch(42.39, 78.50, 298.53°)
OKLaboklab(51.84% 0.0133 -0.1988)
OKLCHoklch(51.84% 0.199 273.8)
XYZxyz(18.3849, 12.7527, 66.4451)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54D8 #D8CE4A
analogous
#4A9BD8 #4A54D8 #874AD8
triadic
#4A54D8 #D84A54 #54D84A
tetradic
#4A54D8 #D84A9B #D8CE4A #4AD887
square
#4A54D8 #D84A9B #D8CE4A #4AD887
split-complementary
#4A54D8 #D8874A #9BD84A
monochromatic
#1E258A #2933BC #4A54D8 #7C84E3 #AFB3EE

Accessibility & contrast

On white

5.91
#4A54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4A54D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A54D8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A54D8#FFFFFF#000000##FFFFFF
##4A54D81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a54d8;
/* rgb */ color: rgb(74, 84, 216);
/* oklch */ color: oklch(51.8% 0.199 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c84e5',
    500: '#4a54d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a54d8;
$custom-light: #8c84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54d8",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 235.775,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.19926,
    "h": 273.8
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#4A54D8
secondary
#DCD8A2
accent
#DC40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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