#4B56BB#4B56BB

#4B56BB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.158 H 274.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4B56BB
RGBrgb(75, 86, 187)
HSLhsl(234, 45%, 51%)
HSVhsv(234, 60%, 73%)
CMYKcmyk(59.9%, 54%, 0%, 26.7%)
CIE-LABlab(40.80, 26.56, -54.78)
CIE-LCHlch(40.80, 60.88, 295.86°)
OKLaboklab(50% 0.0124 -0.1571)
OKLCHoklch(50% 0.158 274.5)
XYZxyz(15.1961, 11.7381, 48.4690)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56BB #BBB04B
analogous
#4B8EBB #4B56BB #784BBB
triadic
#4B56BB #BB4B56 #56BB4B
tetradic
#4B56BB #BB4B8E #BBB04B #4BBB78
square
#4B56BB #BB4B8E #BBB04B #4BBB78
split-complementary
#4B56BB #BB784B #8EBB4B
monochromatic
#262C65 #374092 #4B56BB #7780CC #A4A9DD

Accessibility & contrast

On white

6.27
#4B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4B56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56BB#FFFFFF#000000##FFFFFF
##4B56BB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b56bb;
/* rgb */ color: rgb(75, 86, 187);
/* oklch */ color: oklch(50.0% 0.158 274.5);
Tailwind
colors: {
  custom: {
    50: '#8885d0',
    500: '#4b56bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b56bb;
$custom-light: #8885d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56bb",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 234.107,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.15755,
    "h": 274.5
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#4B56BB
secondary
#CAC598
accent
#C853D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4B56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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