#4B56D7#4B56D7

#4B56D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.195 H 273.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4B56D7
RGBrgb(75, 86, 215)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 65%, 84%)
CMYKcmyk(65.1%, 60%, 0%, 15.7%)
CIE-LABlab(42.85, 36.07, -67.65)
CIE-LCHlch(42.85, 76.66, 298.06°)
OKLaboklab(52.17% 0.0128 -0.1949)
OKLCHoklch(52.17% 0.195 273.8)
XYZxyz(18.4911, 13.0561, 65.8224)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56D7 #D7CC4B
analogous
#4B9CD7 #4B56D7 #864BD7
triadic
#4B56D7 #D74B56 #56D74B
tetradic
#4B56D7 #D74B9C #D7CC4B #4BD786
square
#4B56D7 #D74B9C #D7CC4B #4BD786
split-complementary
#4B56D7 #D7864B #9CD74B
monochromatic
#1E2789 #2A35BB #4B56D7 #7D85E2 #AFB4ED

Accessibility & contrast

On white

5.81
#4B56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4B56D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56D7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56D7#FFFFFF#000000##FFFFFF
##4B56D71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b56d7;
/* rgb */ color: rgb(75, 86, 215);
/* oklch */ color: oklch(52.2% 0.195 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d85e4',
    500: '#4b56d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b56d7;
$custom-light: #8d85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56d7",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 235.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.19531,
    "h": 273.8
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#4B56D7
secondary
#DBD7A2
accent
#DA41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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