#4A56AC#4A56AC

#4A56AC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.137 H 274.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4A56AC
RGBrgb(74, 86, 172)
HSLhsl(233, 40%, 48%)
HSVhsv(233, 57%, 67%)
CMYKcmyk(57%, 50%, 0%, 32.5%)
CIE-LABlab(39.73, 21.28, -47.68)
CIE-LCHlch(39.73, 52.22, 294.05°)
OKLaboklab(48.86% 0.0101 -0.1362)
OKLCHoklch(48.86% 0.137 274.2)
XYZxyz(13.5958, 11.0890, 40.4457)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56AC #ACA04A
analogous
#4A87AC #4A56AC #6F4AAC
triadic
#4A56AC #AC4A56 #56AC4A
tetradic
#4A56AC #AC4A87 #ACA04A #4AAC6F
square
#4A56AC #AC4A87 #ACA04A #4AAC6F
split-complementary
#4A56AC #AC6F4A #87AC4A
monochromatic
#252B56 #384181 #4A56AC #717BC2 #9CA3D4

Accessibility & contrast

On white

6.53
#4A56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4A56AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56AC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56AC#FFFFFF#000000##FFFFFF
##4A56AC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#1B5AAA
Tritanopia (blue-blind)
#106979
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a56ac;
/* rgb */ color: rgb(74, 86, 172);
/* oklch */ color: oklch(48.9% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#8585c5',
    500: '#4a56ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a56ac;
$custom-light: #8585c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56ac",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 232.653,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.13657,
    "h": 274.2
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#4A56AC
secondary
#C1BB91
accent
#C158D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4A56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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