#4A56D6#4A56D6

#4A56D6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.194 H 273.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4A56D6
RGBrgb(74, 86, 214)
HSLhsl(235, 63%, 56%)
HSVhsv(235, 65%, 84%)
CMYKcmyk(65.4%, 59.8%, 0%, 16.1%)
CIE-LABlab(42.71, 35.58, -67.30)
CIE-LCHlch(42.71, 76.13, 297.86°)
OKLaboklab(52.03% 0.0117 -0.1939)
OKLCHoklch(52.03% 0.194 273.5)
XYZxyz(18.2854, 12.9648, 65.1441)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56D6 #D6CA4A
analogous
#4A9CD6 #4A56D6 #844AD6
triadic
#4A56D6 #D64A56 #56D64A
tetradic
#4A56D6 #D64A9C #D6CA4A #4AD684
square
#4A56D6 #D64A9C #D6CA4A #4AD684
split-complementary
#4A56D6 #D6844A #9CD64A
monochromatic
#1F2887 #2A36B9 #4A56D6 #7C85E1 #AEB3ED

Accessibility & contrast

On white

5.84
#4A56D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4A56D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56D6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56D6#FFFFFF#000000##FFFFFF
##4A56D61.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a56d6;
/* rgb */ color: rgb(74, 86, 214);
/* oklch */ color: oklch(52.0% 0.194 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c85e4',
    500: '#4a56d6',
    950: '#000000',
  },
}
SCSS
$custom: #4a56d6;
$custom-light: #8c85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56d6",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 234.857,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.19425,
    "h": 273.5
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#4A56D6
secondary
#DBD6A1
accent
#D842E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A56D6

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

Preview Lab → · Contrast checker → · Palette generator →

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