#4B56CC#4B56CC

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

Color values

HEX#4B56CC
RGBrgb(75, 86, 204)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(63.2%, 57.8%, 0%, 20%)
CIE-LABlab(42.01, 32.34, -62.68)
CIE-LCHlch(42.01, 70.53, 297.29°)
OKLaboklab(51.29% 0.0129 -0.1803)
OKLCHoklch(51.29% 0.181 274.1)
XYZxyz(17.1249, 12.5096, 58.6272)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56CC #CCC14B
analogous
#4B96CC #4B56CC #814BCC
triadic
#4B56CC #CC4B56 #56CC4B
tetradic
#4B56CC #CC4B96 #CCC14B #4BCC81
square
#4B56CC #CC4B96 #CCC14B #4BCC81
split-complementary
#4B56CC #CC814B #96CC4B
monochromatic
#232A7A #303AAA #4B56CC #7B83DA #AAB0E7

Accessibility & contrast

On white

6.00
#4B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4B56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56CC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56CC#FFFFFF#000000##FFFFFF
##4B56CC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b56cc;
/* rgb */ color: rgb(75, 86, 204);
/* oklch */ color: oklch(51.3% 0.181 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b85dc',
    500: '#4b56cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b56cc;
$custom-light: #8b85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56cc",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 234.884,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.18075,
    "h": 274.1
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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