#4A56CD#4A56CD

#4A56CD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.182 H 273.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4A56CD
RGBrgb(74, 86, 205)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 64%, 80%)
CMYKcmyk(63.9%, 58%, 0%, 19.6%)
CIE-LABlab(42.03, 32.52, -63.24)
CIE-LCHlch(42.03, 71.11, 297.21°)
OKLaboklab(51.31% 0.0118 -0.182)
OKLCHoklch(51.31% 0.182 273.7)
XYZxyz(17.1676, 12.5177, 59.2572)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56CD #CDC14A
analogous
#4A97CD #4A56CD #804ACD
triadic
#4A56CD #CD4A56 #56CD4A
tetradic
#4A56CD #CD4A97 #CDC14A #4ACD80
square
#4A56CD #CD4A97 #CDC14A #4ACD80
split-complementary
#4A56CD #CD804A #97CD4A
monochromatic
#222A7B #2F3AAB #4A56CD #7A83DA #AAB0E7

Accessibility & contrast

On white

5.99
#4A56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4A56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56CD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56CD#FFFFFF#000000##FFFFFF
##4A56CD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a56cd;
/* rgb */ color: rgb(74, 86, 205);
/* oklch */ color: oklch(51.3% 0.182 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a85dd',
    500: '#4a56cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a56cd;
$custom-light: #8a85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56cd",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 234.504,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.18234,
    "h": 273.7
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#4A56CD
secondary
#D5D09E
accent
#D248E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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