#4A56DB#4A56DB

#4A56DB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.4% C 0.201 H 273.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A56DB
RGBrgb(74, 86, 219)
HSLhsl(235, 67%, 57%)
HSVhsv(235, 66%, 86%)
CMYKcmyk(66.2%, 60.7%, 0%, 14.1%)
CIE-LABlab(43.10, 37.28, -69.53)
CIE-LCHlch(43.10, 78.89, 298.20°)
OKLaboklab(52.44% 0.0116 -0.2004)
OKLCHoklch(52.44% 0.201 273.3)
XYZxyz(18.9337, 13.2242, 68.5588)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56DB #DBCF4A
analogous
#4A9FDB #4A56DB #864ADB
triadic
#4A56DB #DB4A56 #56DB4A
tetradic
#4A56DB #DB4A9F #DBCF4A #4ADB86
square
#4A56DB #DB4A9F #DBCF4A #4ADB86
split-complementary
#4A56DB #DB864A #9FDB4A
monochromatic
#1C268E #2633C1 #4A56DB #7D86E5 #B0B5EF

Accessibility & contrast

On white

5.76
#4A56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56DB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56DB#FFFFFF#000000##FFFFFF
##4A56DB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a56db;
/* rgb */ color: rgb(74, 86, 219);
/* oklch */ color: oklch(52.4% 0.201 273.3);
Tailwind
colors: {
  custom: {
    50: '#8d85e7',
    500: '#4a56db',
    950: '#000000',
  },
}
SCSS
$custom: #4a56db;
$custom-light: #8d85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56db",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 235.034,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.20077,
    "h": 273.3
  },
  "luminance": 0.13226
}

Semantic roles & 50–950 ramp

primary
#4A56DB
secondary
#DED9A3
accent
#DC3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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