#4A56D4#4A56D4

#4A56D4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.192 H 273.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4A56D4
RGBrgb(74, 86, 212)
HSLhsl(235, 62%, 56%)
HSVhsv(235, 65%, 83%)
CMYKcmyk(65.1%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.56, 34.90, -66.41)
CIE-LCHlch(42.56, 75.02, 297.72°)
OKLaboklab(51.87% 0.0118 -0.1913)
OKLCHoklch(51.87% 0.192 273.5)
XYZxyz(18.0315, 12.8633, 63.8072)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56D4 #D4C84A
analogous
#4A9BD4 #4A56D4 #834AD4
triadic
#4A56D4 #D44A56 #56D44A
tetradic
#4A56D4 #D44A9B #D4C84A #4AD483
square
#4A56D4 #D44A9B #D4C84A #4AD483
split-complementary
#4A56D4 #D4834A #9BD44A
monochromatic
#1F2884 #2B37B6 #4A56D4 #7B84E0 #ADB2EB

Accessibility & contrast

On white

5.88
#4A56D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4A56D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56D4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56D4#FFFFFF#000000##FFFFFF
##4A56D41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a56d4;
/* rgb */ color: rgb(74, 86, 212);
/* oklch */ color: oklch(51.9% 0.192 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c85e2',
    500: '#4a56d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a56d4;
$custom-light: #8c85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56d4",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 234.783,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.19162,
    "h": 273.5
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#4A56D4
secondary
#D9D4A0
accent
#D743E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4A56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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