#4A56D7#4A56D7

#4A56D7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.196 H 273.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4A56D7
RGBrgb(74, 86, 215)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 66%, 84%)
CMYKcmyk(65.6%, 60%, 0%, 15.7%)
CIE-LABlab(42.79, 35.92, -67.75)
CIE-LCHlch(42.79, 76.68, 297.93°)
OKLaboklab(52.11% 0.0117 -0.1952)
OKLCHoklch(52.11% 0.196 273.4)
XYZxyz(18.4135, 13.0161, 65.8188)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56D7 #D7CB4A
analogous
#4A9CD7 #4A56D7 #854AD7
triadic
#4A56D7 #D74A56 #56D74A
tetradic
#4A56D7 #D74A9C #D7CB4A #4AD785
square
#4A56D7 #D74A9C #D7CB4A #4AD785
split-complementary
#4A56D7 #D7854A #9CD74A
monochromatic
#1E2788 #2936BB #4A56D7 #7C85E2 #AEB4ED

Accessibility & contrast

On white

5.83
#4A56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4A56D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56D7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56D7#FFFFFF#000000##FFFFFF
##4A56D71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a56d7;
/* rgb */ color: rgb(74, 86, 215);
/* oklch */ color: oklch(52.1% 0.196 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c85e4',
    500: '#4a56d7',
    950: '#000000',
  },
}
SCSS
$custom: #4a56d7;
$custom-light: #8c85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56d7",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 234.894,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.19556,
    "h": 273.4
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#4A56D7
secondary
#DBD6A2
accent
#D941E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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