#4B56D3#4B56D3

#4B56D3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.190 H 273.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4B56D3
RGBrgb(75, 86, 211)
HSLhsl(235, 61%, 56%)
HSVhsv(235, 64%, 83%)
CMYKcmyk(64.5%, 59.2%, 0%, 17.3%)
CIE-LABlab(42.54, 34.71, -65.86)
CIE-LCHlch(42.54, 74.44, 297.79°)
OKLaboklab(51.85% 0.0129 -0.1896)
OKLCHoklch(51.85% 0.19 273.9)
XYZxyz(17.9834, 12.8530, 63.1486)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56D3 #D3C84B
analogous
#4B9AD3 #4B56D3 #844BD3
triadic
#4B56D3 #D34B56 #56D34B
tetradic
#4B56D3 #D34B9A #D3C84B #4BD384
square
#4B56D3 #D34B9A #D3C84B #4BD384
split-complementary
#4B56D3 #D3844B #9AD34B
monochromatic
#202883 #2C37B5 #4B56D3 #7C84DF #ADB2EB

Accessibility & contrast

On white

5.88
#4B56D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4B56D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56D3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56D3#FFFFFF#000000##FFFFFF
##4B56D31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b56d3;
/* rgb */ color: rgb(75, 86, 211);
/* oklch */ color: oklch(51.8% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c85e1',
    500: '#4b56d3',
    950: '#000000',
  },
}
SCSS
$custom: #4b56d3;
$custom-light: #8c85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56d3",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 235.147,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.19006,
    "h": 273.9
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#4B56D3
secondary
#D9D4A1
accent
#D744E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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