#4B56BE#4B56BE

#4B56BE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.162 H 274.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4B56BE
RGBrgb(75, 86, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 61%, 75%)
CMYKcmyk(60.5%, 54.7%, 0%, 25.5%)
CIE-LABlab(41.01, 27.58, -56.20)
CIE-LCHlch(41.01, 62.60, 296.14°)
OKLaboklab(50.22% 0.0126 -0.1612)
OKLCHoklch(50.22% 0.162 274.5)
XYZxyz(15.5207, 11.8679, 50.1781)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56BE #BEB34B
analogous
#4B90BE #4B56BE #7A4BBE
triadic
#4B56BE #BE4B56 #56BE4B
tetradic
#4B56BE #BE4B90 #BEB34B #4BBE7A
square
#4B56BE #BE4B90 #BEB34B #4BBE7A
split-complementary
#4B56BE #BE7A4B #90BE4B
monochromatic
#262C69 #363F96 #4B56BE #7880CE #A5AADE

Accessibility & contrast

On white

6.22
#4B56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4B56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56BE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56BE#FFFFFF#000000##FFFFFF
##4B56BE1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b56be;
/* rgb */ color: rgb(75, 86, 190);
/* oklch */ color: oklch(50.2% 0.162 274.5);
Tailwind
colors: {
  custom: {
    50: '#8885d2',
    500: '#4b56be',
    950: '#000000',
  },
}
SCSS
$custom: #4b56be;
$custom-light: #8885d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56be",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 234.261,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.16171,
    "h": 274.5
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#4B56BE
secondary
#CCC799
accent
#CA51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4B56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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