#4B56A5#4B56A5

#4B56A5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.126 H 274.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4B56A5
RGBrgb(75, 86, 165)
HSLhsl(233, 38%, 47%)
HSVhsv(233, 55%, 65%)
CMYKcmyk(54.5%, 47.9%, 0%, 35.3%)
CIE-LABlab(39.36, 19.14, -44.13)
CIE-LCHlch(39.36, 48.10, 293.45°)
OKLaboklab(48.45% 0.0104 -0.1257)
OKLCHoklch(48.45% 0.126 274.7)
XYZxyz(13.0188, 10.8672, 37.0016)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56A5 #A59A4B
analogous
#4B83A5 #4B56A5 #6D4BA5
triadic
#4B56A5 #A54B56 #56A54B
tetradic
#4B56A5 #A54B83 #A59A4B #4BA56D
square
#4B56A5 #A54B83 #A59A4B #4BA56D
split-complementary
#4B56A5 #A56D4B #83A54B
monochromatic
#252A51 #38407B #4B56A5 #6F79BE #9AA0D1

Accessibility & contrast

On white

6.62
#4B56A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4B56A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56A5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56A5#FFFFFF#000000##FFFFFF
##4B56A51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#2759A3
Tritanopia (blue-blind)
#1F6775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b56a5;
/* rgb */ color: rgb(75, 86, 165);
/* oklch */ color: oklch(48.4% 0.126 274.7);
Tailwind
colors: {
  custom: {
    50: '#8485c0',
    500: '#4b56a5',
    950: '#000000',
  },
}
SCSS
$custom: #4b56a5;
$custom-light: #8485c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56a5",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 232.667,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.12615,
    "h": 274.7
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#4B56A5
secondary
#BDB88F
accent
#BF5ACD
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4B56A5

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

Preview Lab → · Contrast checker → · Palette generator →

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