#4B56CB#4B56CB

#4B56CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.179 H 274.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4B56CB
RGBrgb(75, 86, 203)
HSLhsl(235, 55%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(63.1%, 57.6%, 0%, 20.4%)
CIE-LABlab(41.94, 32.00, -62.23)
CIE-LCHlch(41.94, 69.97, 297.21°)
OKLaboklab(51.21% 0.0129 -0.1789)
OKLCHoklch(51.21% 0.179 274.1)
XYZxyz(17.0054, 12.4618, 57.9976)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56CB #CBC04B
analogous
#4B96CB #4B56CB #804BCB
triadic
#4B56CB #CB4B56 #56CB4B
tetradic
#4B56CB #CB4B96 #CBC04B #4BCB80
square
#4B56CB #CB4B96 #CBC04B #4BCB80
split-complementary
#4B56CB #CB804B #96CB4B
monochromatic
#232A79 #313BA8 #4B56CB #7A83D9 #AAAFE6

Accessibility & contrast

On white

6.01
#4B56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4B56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56CB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56CB#FFFFFF#000000##FFFFFF
##4B56CB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b56cb;
/* rgb */ color: rgb(75, 86, 203);
/* oklch */ color: oklch(51.2% 0.179 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a85dc',
    500: '#4b56cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b56cb;
$custom-light: #8a85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56cb",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 234.844,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.17941,
    "h": 274.1
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#4B56CB
secondary
#D4CF9E
accent
#D249DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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