#4B56CF#4B56CF

#4B56CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.185 H 274.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4B56CF
RGBrgb(75, 86, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(63.8%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.24, 33.36, -64.05)
CIE-LCHlch(42.24, 72.21, 297.51°)
OKLaboklab(51.53% 0.0129 -0.1843)
OKLCHoklch(51.53% 0.185 274)
XYZxyz(17.4882, 12.6549, 60.5404)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56CF #CFC44B
analogous
#4B98CF #4B56CF #824BCF
triadic
#4B56CF #CF4B56 #56CF4B
tetradic
#4B56CF #CF4B98 #CFC44B #4BCF82
square
#4B56CF #CF4B98 #CFC44B #4BCF82
split-complementary
#4B56CF #CF824B #98CF4B
monochromatic
#22297E #2E39AE #4B56CF #7B83DC #ACB1E9

Accessibility & contrast

On white

5.95
#4B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4B56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56CF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56CF#FFFFFF#000000##FFFFFF
##4B56CF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b56cf;
/* rgb */ color: rgb(75, 86, 207);
/* oklch */ color: oklch(51.5% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b85df',
    500: '#4b56cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b56cf;
$custom-light: #8b85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56cf",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 235,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.18476,
    "h": 274
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#4B56CF
secondary
#D6D29F
accent
#D447E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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