#4B56CE#4B56CE

#4B56CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.183 H 274.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4B56CE
RGBrgb(75, 86, 206)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(63.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(42.16, 33.02, -63.59)
CIE-LCHlch(42.16, 71.65, 297.44°)
OKLaboklab(51.45% 0.0129 -0.183)
OKLCHoklch(51.45% 0.183 274)
XYZxyz(17.3663, 12.6062, 59.8986)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56CE #CEC34B
analogous
#4B97CE #4B56CE #824BCE
triadic
#4B56CE #CE4B56 #56CE4B
tetradic
#4B56CE #CE4B97 #CEC34B #4BCE82
square
#4B56CE #CE4B97 #CEC34B #4BCE82
split-complementary
#4B56CE #CE824B #97CE4B
monochromatic
#222A7D #2F3AAD #4B56CE #7B83DB #ABB0E8

Accessibility & contrast

On white

5.96
#4B56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4B56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56CE#FFFFFF#000000##FFFFFF
##4B56CE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b56ce;
/* rgb */ color: rgb(75, 86, 206);
/* oklch */ color: oklch(51.4% 0.183 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b85de',
    500: '#4b56ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b56ce;
$custom-light: #8b85de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56ce",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 234.962,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.18342,
    "h": 274
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#4B56CE
secondary
#D6D19F
accent
#D447E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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