#4B56BF#4B56BF

#4B56BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.163 H 274.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4B56BF
RGBrgb(75, 86, 191)
HSLhsl(234, 48%, 52%)
HSVhsv(234, 61%, 75%)
CMYKcmyk(60.7%, 55%, 0%, 25.1%)
CIE-LABlab(41.08, 27.92, -56.67)
CIE-LCHlch(41.08, 63.17, 296.23°)
OKLaboklab(50.29% 0.0126 -0.1626)
OKLCHoklch(50.29% 0.163 274.4)
XYZxyz(15.6303, 11.9118, 50.7556)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56BF #BFB44B
analogous
#4B90BF #4B56BF #7A4BBF
triadic
#4B56BF #BF4B56 #56BF4B
tetradic
#4B56BF #BF4B90 #BFB44B #4BBF7A
square
#4B56BF #BF4B90 #BFB44B #4BBF7A
split-complementary
#4B56BF #BF7A4B #90BF4B
monochromatic
#262C6A #363F97 #4B56BF #7880CF #A5ABDF

Accessibility & contrast

On white

6.21
#4B56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4B56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56BF#FFFFFF#000000##FFFFFF
##4B56BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0666C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b56bf;
/* rgb */ color: rgb(75, 86, 191);
/* oklch */ color: oklch(50.3% 0.163 274.4);
Tailwind
colors: {
  custom: {
    50: '#8885d3',
    500: '#4b56bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b56bf;
$custom-light: #8885d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56bf",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 234.31,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.16309,
    "h": 274.4
  },
  "luminance": 0.11913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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