#4A56D8#4A56D8

#4A56D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.197 H 273.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4A56D8
RGBrgb(74, 86, 216)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(65.7%, 60.2%, 0%, 15.3%)
CIE-LABlab(42.86, 36.26, -68.19)
CIE-LCHlch(42.86, 77.23, 298.00°)
OKLaboklab(52.19% 0.0117 -0.1965)
OKLCHoklch(52.19% 0.197 273.4)
XYZxyz(18.5424, 13.0676, 66.4976)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56D8 #D8CC4A
analogous
#4A9DD8 #4A56D8 #854AD8
triadic
#4A56D8 #D84A56 #56D84A
tetradic
#4A56D8 #D84A9D #D8CC4A #4AD885
square
#4A56D8 #D84A9D #D8CC4A #4AD885
split-complementary
#4A56D8 #D8854A #9DD84A
monochromatic
#1E278A #2935BC #4A56D8 #7C85E3 #AFB4EE

Accessibility & contrast

On white

5.81
#4A56D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4A56D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56D8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56D8#FFFFFF#000000##FFFFFF
##4A56D81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a56d8;
/* rgb */ color: rgb(74, 86, 216);
/* oklch */ color: oklch(52.2% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c85e5',
    500: '#4a56d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a56d8;
$custom-light: #8c85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56d8",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 234.93,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.19687,
    "h": 273.4
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#4A56D8
secondary
#DCD7A2
accent
#D940E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A56D8

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

Preview Lab → · Contrast checker → · Palette generator →

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