#4A56ED#4A56ED

#4A56ED is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.224 H 272.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A56ED
RGBrgb(74, 86, 237)
HSLhsl(236, 82%, 61%)
HSVhsv(236, 69%, 93%)
CMYKcmyk(68.8%, 63.7%, 0%, 7.1%)
CIE-LABlab(44.55, 43.33, -77.35)
CIE-LCHlch(44.55, 88.67, 299.26°)
OKLaboklab(53.95% 0.0107 -0.2234)
OKLCHoklch(53.95% 0.224 272.7)
XYZxyz(21.4328, 14.2238, 81.7203)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56ED #EDE14A
analogous
#4AA7ED #4A56ED #8F4AED
triadic
#4A56ED #ED4A56 #56ED4A
tetradic
#4A56ED #ED4AA7 #EDE14A #4AED8F
square
#4A56ED #ED4AA7 #EDE14A #4AED8F
split-complementary
#4A56ED #ED8F4A #A7ED4A
monochromatic
#111CAC #1726E3 #4A56ED #828AF3 #B9BEF8

Accessibility & contrast

On white

5.46
#4A56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A56ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56ED
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56ED#FFFFFF#000000##FFFFFF
##4A56ED1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0062EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a56ed;
/* rgb */ color: rgb(74, 86, 237);
/* oklch */ color: oklch(54.0% 0.224 272.7);
Tailwind
colors: {
  custom: {
    50: '#9086f4',
    500: '#4a56ed',
    950: '#000000',
  },
}
SCSS
$custom: #4a56ed;
$custom-light: #9086f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56ed",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 235.583,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.22365,
    "h": 272.7
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#4A56ED
secondary
#E8E4AB
accent
#CE07DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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