#4B56D5#4B56D5

#4B56D5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.193 H 273.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4B56D5
RGBrgb(75, 86, 213)
HSLhsl(235, 62%, 56%)
HSVhsv(235, 65%, 84%)
CMYKcmyk(64.8%, 59.6%, 0%, 16.5%)
CIE-LABlab(42.69, 35.39, -66.75)
CIE-LCHlch(42.69, 75.55, 297.93°)
OKLaboklab(52.01% 0.0128 -0.1923)
OKLCHoklch(52.01% 0.193 273.8)
XYZxyz(18.2357, 12.9539, 64.4772)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56D5 #D5CA4B
analogous
#4B9BD5 #4B56D5 #854BD5
triadic
#4B56D5 #D54B56 #56D54B
tetradic
#4B56D5 #D54B9B #D5CA4B #4BD585
square
#4B56D5 #D54B9B #D5CA4B #4BD585
split-complementary
#4B56D5 #D5854B #9BD54B
monochromatic
#1F2886 #2B36B8 #4B56D5 #7D85E1 #AEB3EC

Accessibility & contrast

On white

5.85
#4B56D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4B56D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56D5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56D5#FFFFFF#000000##FFFFFF
##4B56D51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b56d5;
/* rgb */ color: rgb(75, 86, 213);
/* oklch */ color: oklch(52.0% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c85e3',
    500: '#4b56d5',
    950: '#000000',
  },
}
SCSS
$custom: #4b56d5;
$custom-light: #8c85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56d5",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 235.217,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.19269,
    "h": 273.8
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#4B56D5
secondary
#DAD6A2
accent
#D843E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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