#4B56C8#4B56C8

#4B56C8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.175 H 274.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4B56C8
RGBrgb(75, 86, 200)
HSLhsl(235, 53%, 54%)
HSVhsv(235, 63%, 78%)
CMYKcmyk(62.5%, 57%, 0%, 21.6%)
CIE-LABlab(41.72, 30.98, -60.85)
CIE-LCHlch(41.72, 68.28, 296.98°)
OKLaboklab(50.98% 0.0129 -0.1749)
OKLCHoklch(50.98% 0.175 274.2)
XYZxyz(16.6513, 12.3202, 56.1329)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56C8 #C8BD4B
analogous
#4B95C8 #4B56C8 #7F4BC8
triadic
#4B56C8 #C84B56 #56C84B
tetradic
#4B56C8 #C84B95 #C8BD4B #4BC87F
square
#4B56C8 #C84B95 #C8BD4B #4BC87F
split-complementary
#4B56C8 #C87F4B #95C84B
monochromatic
#242B75 #323CA4 #4B56C8 #7A82D6 #A9AEE5

Accessibility & contrast

On white

6.06
#4B56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4B56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56C8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56C8#FFFFFF#000000##FFFFFF
##4B56C81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b56c8;
/* rgb */ color: rgb(75, 86, 200);
/* oklch */ color: oklch(51.0% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a85d9',
    500: '#4b56c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b56c8;
$custom-light: #8a85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56c8",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 234.72,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.17537,
    "h": 274.2
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#4B56C8
secondary
#D2CD9D
accent
#D04BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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