#4A56BF#4A56BF

#4A56BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.163 H 274.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4A56BF
RGBrgb(74, 86, 191)
HSLhsl(234, 48%, 52%)
HSVhsv(234, 61%, 75%)
CMYKcmyk(61.3%, 55%, 0%, 25.1%)
CIE-LABlab(41.01, 27.74, -56.77)
CIE-LCHlch(41.01, 63.19, 296.04°)
OKLaboklab(50.23% 0.0115 -0.1629)
OKLCHoklch(50.23% 0.163 274)
XYZxyz(15.5527, 11.8718, 50.7520)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56BF #BFB34A
analogous
#4A91BF #4A56BF #794ABF
triadic
#4A56BF #BF4A56 #56BF4A
tetradic
#4A56BF #BF4A91 #BFB34A #4ABF79
square
#4A56BF #BF4A91 #BFB34A #4ABF79
split-complementary
#4A56BF #BF794A #91BF4A
monochromatic
#252C69 #353F97 #4A56BF #7780CF #A4AADF

Accessibility & contrast

On white

6.22
#4A56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A56BF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56BF#FFFFFF#000000##FFFFFF
##4A56BF1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0566C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a56bf;
/* rgb */ color: rgb(74, 86, 191);
/* oklch */ color: oklch(50.2% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#8885d3',
    500: '#4a56bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a56bf;
$custom-light: #8885d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56bf",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 233.846,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.16335,
    "h": 274
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#4A56BF
secondary
#CCC799
accent
#CA50D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4A56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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