#4B56D2#4B56D2

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

Color values

HEX#4B56D2
RGBrgb(75, 86, 210)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 64%, 82%)
CMYKcmyk(64.3%, 59%, 0%, 17.6%)
CIE-LABlab(42.46, 34.37, -65.40)
CIE-LCHlch(42.46, 73.89, 297.72°)
OKLaboklab(51.77% 0.0129 -0.1883)
OKLCHoklch(51.77% 0.189 273.9)
XYZxyz(17.8584, 12.8030, 62.4904)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56D2 #D2C74B
analogous
#4B99D2 #4B56D2 #834BD2
triadic
#4B56D2 #D24B56 #56D24B
tetradic
#4B56D2 #D24B99 #D2C74B #4BD283
square
#4B56D2 #D24B99 #D2C74B #4BD283
split-complementary
#4B56D2 #D2834B #99D24B
monochromatic
#212882 #2D38B3 #4B56D2 #7C84DE #ADB2EA

Accessibility & contrast

On white

5.90
#4B56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4B56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56D2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56D2#FFFFFF#000000##FFFFFF
##4B56D21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b56d2;
/* rgb */ color: rgb(75, 86, 210);
/* oklch */ color: oklch(51.8% 0.189 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c85e1',
    500: '#4b56d2',
    950: '#000000',
  },
}
SCSS
$custom: #4b56d2;
$custom-light: #8c85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56d2",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 235.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.18874,
    "h": 273.9
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#4B56D2
secondary
#D8D4A0
accent
#D645E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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