#4E56F3#4E56F3

#4E56F3 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.230 H 273.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E56F3
RGBrgb(78, 86, 243)
HSLhsl(237, 87%, 63%)
HSVhsv(237, 68%, 95%)
CMYKcmyk(67.9%, 64.6%, 0%, 4.7%)
CIE-LABlab(45.28, 45.81, -79.52)
CIE-LCHlch(45.28, 91.77, 299.94°)
OKLaboklab(54.7% 0.0145 -0.2296)
OKLCHoklch(54.7% 0.23 273.6)
XYZxyz(22.6419, 14.7442, 86.4293)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56F3 #F3EB4E
analogous
#4EA8F3 #4E56F3 #984EF3
triadic
#4E56F3 #F34E56 #56F34E
tetradic
#4E56F3 #F34EA8 #F3EB4E #4EF398
square
#4E56F3 #F34EA8 #F3EB4E #4EF398
split-complementary
#4E56F3 #F3984E #A8F34E
monochromatic
#0D15BA #151FEF #4E56F3 #878DF7 #C1C3FB

Accessibility & contrast

On white

5.32
#4E56F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4E56F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56F3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56F3#FFFFFF#000000##FFFFFF
##4E56F31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#0064F0
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e56f3;
/* rgb */ color: rgb(78, 86, 243);
/* oklch */ color: oklch(54.7% 0.230 273.6);
Tailwind
colors: {
  custom: {
    50: '#9386f8',
    500: '#4e56f3',
    950: '#000000',
  },
}
SCSS
$custom: #4e56f3;
$custom-light: #9386f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56f3",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 237.091,
    "s": 87.302,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.23011,
    "h": 273.6
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#4E56F3
secondary
#ECE9B1
accent
#D902E4
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #4E56F3

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

Preview Lab → · Contrast checker → · Palette generator →

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