#4B56CA#4B56CA

#4B56CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.178 H 274.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4B56CA
RGBrgb(75, 86, 202)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 63%, 79%)
CMYKcmyk(62.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.87, 31.66, -61.77)
CIE-LCHlch(41.87, 69.41, 297.14°)
OKLaboklab(51.13% 0.0129 -0.1776)
OKLCHoklch(51.13% 0.178 274.1)
XYZxyz(16.8866, 12.4143, 57.3720)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56CA #CABF4B
analogous
#4B96CA #4B56CA #804BCA
triadic
#4B56CA #CA4B56 #56CA4B
tetradic
#4B56CA #CA4B96 #CABF4B #4BCA80
square
#4B56CA #CA4B96 #CABF4B #4BCA80
split-complementary
#4B56CA #CA804B #96CA4B
monochromatic
#232A77 #313BA7 #4B56CA #7A82D8 #AAAFE6

Accessibility & contrast

On white

6.03
#4B56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4B56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56CA#FFFFFF#000000##FFFFFF
##4B56CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b56ca;
/* rgb */ color: rgb(75, 86, 202);
/* oklch */ color: oklch(51.1% 0.178 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a85db',
    500: '#4b56ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b56ca;
$custom-light: #8a85db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56ca",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 234.803,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51134,
    "c": 0.17807,
    "h": 274.1
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#4B56CA
secondary
#D3CF9D
accent
#D14ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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