#4E5BC7#4E5BC7

#4E5BC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.167 H 273.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4E5BC7
RGBrgb(78, 91, 199)
HSLhsl(234, 52%, 54%)
HSVhsv(234, 61%, 78%)
CMYKcmyk(60.8%, 54.3%, 0%, 22%)
CIE-LABlab(43.10, 28.01, -58.03)
CIE-LCHlch(43.10, 64.44, 295.77°)
OKLaboklab(52.04% 0.0114 -0.1665)
OKLCHoklch(52.04% 0.167 273.9)
XYZxyz(17.1884, 13.2240, 55.6685)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BC7 #C7BA4E
analogous
#4E97C7 #4E5BC7 #7E4EC7
triadic
#4E5BC7 #C74E5B #5BC74E
tetradic
#4E5BC7 #C74E97 #C7BA4E #4EC77E
square
#4E5BC7 #C74E97 #C7BA4E #4EC77E
split-complementary
#4E5BC7 #C77E4E #97C74E
monochromatic
#252E75 #3440A4 #4E5BC7 #7C86D6 #ABB1E4

Accessibility & contrast

On white

5.76
#4E5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BC7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BC7#FFFFFF#000000##FFFFFF
##4E5BC71.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5bc7;
/* rgb */ color: rgb(78, 91, 199);
/* oklch */ color: oklch(52.0% 0.167 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b89d9',
    500: '#4e5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bc7;
$custom-light: #8b89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bc7",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 233.554,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.16687,
    "h": 273.9
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#4E5BC7
secondary
#D2CD9F
accent
#CC4CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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