#4A56BC#4A56BC

#4A56BC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.159 H 274.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4A56BC
RGBrgb(74, 86, 188)
HSLhsl(234, 46%, 51%)
HSVhsv(234, 61%, 74%)
CMYKcmyk(60.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(40.80, 26.72, -55.36)
CIE-LCHlch(40.80, 61.47, 295.76°)
OKLaboklab(50.01% 0.0114 -0.1588)
OKLCHoklch(50.01% 0.159 274.1)
XYZxyz(15.2259, 11.7411, 49.0311)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56BC #BCB04A
analogous
#4A8FBC #4A56BC #774ABC
triadic
#4A56BC #BC4A56 #56BC4A
tetradic
#4A56BC #BC4A8F #BCB04A #4ABC77
square
#4A56BC #BC4A8F #BCB04A #4ABC77
split-complementary
#4A56BC #BC774A #8FBC4A
monochromatic
#262C66 #364093 #4A56BC #7780CD #A3A9DD

Accessibility & contrast

On white

6.27
#4A56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4A56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56BC#FFFFFF#000000##FFFFFF
##4A56BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a56bc;
/* rgb */ color: rgb(74, 86, 188);
/* oklch */ color: oklch(50.0% 0.159 274.1);
Tailwind
colors: {
  custom: {
    50: '#8785d1',
    500: '#4a56bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a56bc;
$custom-light: #8785d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56bc",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 233.684,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.1592,
    "h": 274.1
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#4A56BC
secondary
#CAC598
accent
#C852D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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