#4A56BB#4A56BB

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

Color values

HEX#4A56BB
RGBrgb(74, 86, 187)
HSLhsl(234, 45%, 51%)
HSVhsv(234, 60%, 73%)
CMYKcmyk(60.4%, 54%, 0%, 26.7%)
CIE-LABlab(40.73, 26.38, -54.89)
CIE-LCHlch(40.73, 60.90, 295.66°)
OKLaboklab(49.93% 0.0113 -0.1574)
OKLCHoklch(49.93% 0.158 274.1)
XYZxyz(15.1185, 11.6981, 48.4653)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56BB #BBAF4A
analogous
#4A8EBB #4A56BB #764ABB
triadic
#4A56BB #BB4A56 #56BB4A
tetradic
#4A56BB #BB4A8E #BBAF4A #4ABB76
square
#4A56BB #BB4A8E #BBAF4A #4ABB76
split-complementary
#4A56BB #BB764A #8EBB4A
monochromatic
#262D65 #374091 #4A56BB #7680CC #A3A9DC

Accessibility & contrast

On white

6.29
#4A56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4A56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56BB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56BB#FFFFFF#000000##FFFFFF
##4A56BB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a56bb;
/* rgb */ color: rgb(74, 86, 187);
/* oklch */ color: oklch(49.9% 0.158 274.1);
Tailwind
colors: {
  custom: {
    50: '#8785d0',
    500: '#4a56bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a56bb;
$custom-light: #8785d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56bb",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 233.628,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.15781,
    "h": 274.1
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#4A56BB
secondary
#C9C497
accent
#C753D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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