#4B56BD#4B56BD

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

Color values

HEX#4B56BD
RGBrgb(75, 86, 189)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 60%, 74%)
CMYKcmyk(60.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(40.94, 27.24, -55.73)
CIE-LCHlch(40.94, 62.03, 296.05°)
OKLaboklab(50.14% 0.0125 -0.1598)
OKLCHoklch(50.14% 0.16 274.5)
XYZxyz(15.4117, 11.8244, 49.6044)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56BD #BDB24B
analogous
#4B8FBD #4B56BD #794BBD
triadic
#4B56BD #BD4B56 #56BD4B
tetradic
#4B56BD #BD4B8F #BDB24B #4BBD79
square
#4B56BD #BD4B8F #BDB24B #4BBD79
split-complementary
#4B56BD #BD794B #8FBD4B
monochromatic
#262C68 #363F94 #4B56BD #7880CD #A5AADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B56BD#FFFFFF#000000##FFFFFF
##4B56BD1.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)
#0E66C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b56bd;
/* rgb */ color: rgb(75, 86, 189);
/* oklch */ color: oklch(50.1% 0.160 274.5);
Tailwind
colors: {
  custom: {
    50: '#8885d2',
    500: '#4b56bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b56bd;
$custom-light: #8885d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56bd",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 234.211,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.16032,
    "h": 274.5
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#4B56BD
secondary
#CBC699
accent
#C952D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4B56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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