#4A56CA#4A56CA

#4A56CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.178 H 273.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4A56CA
RGBrgb(74, 86, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 63%, 79%)
CMYKcmyk(63.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.80, 31.49, -61.87)
CIE-LCHlch(41.80, 69.43, 296.98°)
OKLaboklab(51.07% 0.0118 -0.1779)
OKLCHoklch(51.07% 0.178 273.8)
XYZxyz(16.8090, 12.3743, 57.3683)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56CA #CABE4A
analogous
#4A96CA #4A56CA #7E4ACA
triadic
#4A56CA #CA4A56 #56CA4A
tetradic
#4A56CA #CA4A96 #CABE4A #4ACA7E
square
#4A56CA #CA4A96 #CABE4A #4ACA7E
split-complementary
#4A56CA #CA7E4A #96CA4A
monochromatic
#232B77 #313CA6 #4A56CA #7982D8 #A9AEE6

Accessibility & contrast

On white

6.04
#4A56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4A56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56CA#FFFFFF#000000##FFFFFF
##4A56CA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a56ca;
/* rgb */ color: rgb(74, 86, 202);
/* oklch */ color: oklch(51.1% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a85db',
    500: '#4a56ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a56ca;
$custom-light: #8a85db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56ca",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 234.375,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.17832,
    "h": 273.8
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#4A56CA
secondary
#D3CE9D
accent
#D04ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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