#4A56D0#4A56D0

#4A56D0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.186 H 273.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4A56D0
RGBrgb(74, 86, 208)
HSLhsl(235, 59%, 55%)
HSVhsv(235, 64%, 82%)
CMYKcmyk(64.4%, 58.7%, 0%, 18.4%)
CIE-LABlab(42.25, 33.54, -64.60)
CIE-LCHlch(42.25, 72.79, 297.44°)
OKLaboklab(51.54% 0.0118 -0.186)
OKLCHoklch(51.54% 0.186 273.6)
XYZxyz(17.5332, 12.6640, 61.1827)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56D0 #D0C44A
analogous
#4A99D0 #4A56D0 #814AD0
triadic
#4A56D0 #D04A56 #56D04A
tetradic
#4A56D0 #D04A99 #D0C44A #4AD081
square
#4A56D0 #D04A99 #D0C44A #4AD081
split-complementary
#4A56D0 #D0814A #99D04A
monochromatic
#21297F #2E39AF #4A56D0 #7B83DD #ABB1E9

Accessibility & contrast

On white

5.94
#4A56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4A56D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56D0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56D0#FFFFFF#000000##FFFFFF
##4A56D01.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a56d0;
/* rgb */ color: rgb(74, 86, 208);
/* oklch */ color: oklch(51.5% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b85df',
    500: '#4a56d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a56d0;
$custom-light: #8b85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56d0",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 234.627,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.18634,
    "h": 273.6
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#4A56D0
secondary
#D7D29F
accent
#D446E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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