#4B56BC#4B56BC

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

Color values

HEX#4B56BC
RGBrgb(75, 86, 188)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 60%, 74%)
CMYKcmyk(60.1%, 54.3%, 0%, 26.3%)
CIE-LABlab(40.87, 26.90, -55.26)
CIE-LCHlch(40.87, 61.46, 295.96°)
OKLaboklab(50.07% 0.0125 -0.1584)
OKLCHoklch(50.07% 0.159 274.5)
XYZxyz(15.3036, 11.7811, 49.0347)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56BC #BCB14B
analogous
#4B8FBC #4B56BC #794BBC
triadic
#4B56BC #BC4B56 #56BC4B
tetradic
#4B56BC #BC4B8F #BCB14B #4BBC79
square
#4B56BC #BC4B8F #BCB14B #4BBC79
split-complementary
#4B56BC #BC794B #8FBC4B
monochromatic
#262C66 #374093 #4B56BC #7880CD #A4AADD

Accessibility & contrast

On white

6.26
#4B56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4B56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56BC#FFFFFF#000000##FFFFFF
##4B56BC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b56bc;
/* rgb */ color: rgb(75, 86, 188);
/* oklch */ color: oklch(50.1% 0.159 274.5);
Tailwind
colors: {
  custom: {
    50: '#8885d1',
    500: '#4b56bc',
    950: '#000000',
  },
}
SCSS
$custom: #4b56bc;
$custom-light: #8885d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56bc",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 234.159,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.15894,
    "h": 274.5
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#4B56BC
secondary
#CAC599
accent
#C952D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4B56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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