#4A56CC#4A56CC

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

Color values

HEX#4A56CC
RGBrgb(74, 86, 204)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(63.7%, 57.8%, 0%, 20%)
CIE-LABlab(41.95, 32.18, -62.79)
CIE-LCHlch(41.95, 70.55, 297.13°)
OKLaboklab(51.23% 0.0118 -0.1806)
OKLCHoklch(51.23% 0.181 273.7)
XYZxyz(17.0473, 12.4696, 58.6235)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56CC #CCC04A
analogous
#4A97CC #4A56CC #7F4ACC
triadic
#4A56CC #CC4A56 #56CC4A
tetradic
#4A56CC #CC4A97 #CCC04A #4ACC7F
square
#4A56CC #CC4A97 #CCC04A #4ACC7F
split-complementary
#4A56CC #CC7F4A #97CC4A
monochromatic
#222A79 #303BA9 #4A56CC #7A83D9 #A9AFE7

Accessibility & contrast

On white

6.01
#4A56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4A56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56CC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56CC#FFFFFF#000000##FFFFFF
##4A56CC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a56cc;
/* rgb */ color: rgb(74, 86, 204);
/* oklch */ color: oklch(51.2% 0.181 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a85dc',
    500: '#4a56cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a56cc;
$custom-light: #8a85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56cc",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 234.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.18101,
    "h": 273.7
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#4A56CC
secondary
#D4CF9D
accent
#D148DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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