#4B56D8#4B56D8

#4B56D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.197 H 273.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4B56D8
RGBrgb(75, 86, 216)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(65.3%, 60.2%, 0%, 15.3%)
CIE-LABlab(42.93, 36.40, -68.09)
CIE-LCHlch(42.93, 77.21, 298.13°)
OKLaboklab(52.25% 0.0128 -0.1962)
OKLCHoklch(52.25% 0.197 273.7)
XYZxyz(18.6200, 13.1077, 66.5012)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56D8 #D8CD4B
analogous
#4B9DD8 #4B56D8 #874BD8
triadic
#4B56D8 #D84B56 #56D84B
tetradic
#4B56D8 #D84B9D #D8CD4B #4BD887
square
#4B56D8 #D84B9D #D8CD4B #4BD887
split-complementary
#4B56D8 #D8874B #9DD84B
monochromatic
#1E268B #2934BD #4B56D8 #7D85E3 #B0B4EE

Accessibility & contrast

On white

5.80
#4B56D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4B56D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56D8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56D8#FFFFFF#000000##FFFFFF
##4B56D81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b56d8;
/* rgb */ color: rgb(75, 86, 216);
/* oklch */ color: oklch(52.3% 0.197 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d85e5',
    500: '#4b56d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b56d8;
$custom-light: #8d85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56d8",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 235.319,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5225,
    "c": 0.19662,
    "h": 273.7
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#4B56D8
secondary
#DCD8A3
accent
#DA40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B56D8

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

Preview Lab → · Contrast checker → · Palette generator →

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