#4A56BE#4A56BE

#4A56BE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.162 H 274.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4A56BE
RGBrgb(74, 86, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 61%, 75%)
CMYKcmyk(61.1%, 54.7%, 0%, 25.5%)
CIE-LABlab(40.94, 27.40, -56.30)
CIE-LCHlch(40.94, 62.62, 295.95°)
OKLaboklab(50.15% 0.0115 -0.1616)
OKLCHoklch(50.15% 0.162 274.1)
XYZxyz(15.4430, 11.8279, 50.1744)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56BE #BEB24A
analogous
#4A90BE #4A56BE #784ABE
triadic
#4A56BE #BE4A56 #56BE4A
tetradic
#4A56BE #BE4A90 #BEB24A #4ABE78
square
#4A56BE #BE4A90 #BEB24A #4ABE78
split-complementary
#4A56BE #BE784A #90BE4A
monochromatic
#252C68 #363F95 #4A56BE #7780CE #A4AADE

Accessibility & contrast

On white

6.24
#4A56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56BE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56BE#FFFFFF#000000##FFFFFF
##4A56BE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a56be;
/* rgb */ color: rgb(74, 86, 190);
/* oklch */ color: oklch(50.2% 0.162 274.1);
Tailwind
colors: {
  custom: {
    50: '#8885d2',
    500: '#4a56be',
    950: '#000000',
  },
}
SCSS
$custom: #4a56be;
$custom-light: #8885d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56be",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 233.793,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.16197,
    "h": 274.1
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#4A56BE
secondary
#CBC698
accent
#C951D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4A56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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