#4B56CD#4B56CD

#4B56CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.182 H 274.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4B56CD
RGBrgb(75, 86, 205)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(63.4%, 58%, 0%, 19.6%)
CIE-LABlab(42.09, 32.68, -63.14)
CIE-LCHlch(42.09, 71.09, 297.36°)
OKLaboklab(51.37% 0.0129 -0.1816)
OKLCHoklch(51.37% 0.182 274.1)
XYZxyz(17.2452, 12.5578, 59.2609)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56CD #CDC24B
analogous
#4B97CD #4B56CD #814BCD
triadic
#4B56CD #CD4B56 #56CD4B
tetradic
#4B56CD #CD4B97 #CDC24B #4BCD81
square
#4B56CD #CD4B97 #CDC24B #4BCD81
split-complementary
#4B56CD #CD814B #97CD4B
monochromatic
#222A7B #303AAB #4B56CD #7B83DA #ABB0E8

Accessibility & contrast

On white

5.98
#4B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4B56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56CD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56CD#FFFFFF#000000##FFFFFF
##4B56CD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b56cd;
/* rgb */ color: rgb(75, 86, 205);
/* oklch */ color: oklch(51.4% 0.182 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b85dd',
    500: '#4b56cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b56cd;
$custom-light: #8b85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56cd",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 234.923,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.18209,
    "h": 274.1
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#4B56CD
secondary
#D5D19F
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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