#4B56D4#4B56D4

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

Color values

HEX#4B56D4
RGBrgb(75, 86, 212)
HSLhsl(235, 61%, 56%)
HSVhsv(235, 65%, 83%)
CMYKcmyk(64.6%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.62, 35.05, -66.30)
CIE-LCHlch(42.62, 75.00, 297.86°)
OKLaboklab(51.93% 0.0129 -0.1909)
OKLCHoklch(51.93% 0.191 273.9)
XYZxyz(18.1092, 12.9033, 63.8109)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56D4 #D4C94B
analogous
#4B9BD4 #4B56D4 #854BD4
triadic
#4B56D4 #D44B56 #56D44B
tetradic
#4B56D4 #D44B9B #D4C94B #4BD485
square
#4B56D4 #D44B9B #D4C94B #4BD485
split-complementary
#4B56D4 #D4854B #9BD44B
monochromatic
#202885 #2C37B6 #4B56D4 #7C84E0 #AEB3EC

Accessibility & contrast

On white

5.86
#4B56D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4B56D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56D4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56D4#FFFFFF#000000##FFFFFF
##4B56D41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b56d4;
/* rgb */ color: rgb(75, 86, 212);
/* oklch */ color: oklch(51.9% 0.191 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c85e2',
    500: '#4b56d4',
    950: '#000000',
  },
}
SCSS
$custom: #4b56d4;
$custom-light: #8c85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56d4",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 235.182,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.19137,
    "h": 273.9
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#4B56D4
secondary
#DAD5A1
accent
#D843E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4B56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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