#4E5BB7#4E5BB7

#4E5BB7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.145 H 274.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4E5BB7
RGBrgb(78, 91, 183)
HSLhsl(233, 42%, 51%)
HSVhsv(233, 57%, 72%)
CMYKcmyk(57.4%, 50.3%, 0%, 28.2%)
CIE-LABlab(42.03, 22.61, -50.45)
CIE-LCHlch(42.03, 55.28, 294.14°)
OKLaboklab(50.89% 0.0102 -0.1442)
OKLCHoklch(50.89% 0.145 274.1)
XYZxyz(15.4274, 12.5196, 46.3941)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BB7 #B7AA4E
analogous
#4E8FB7 #4E5BB7 #754EB7
triadic
#4E5BB7 #B74E5B #5BB74E
tetradic
#4E5BB7 #B74E8F #B7AA4E #4EB775
square
#4E5BB7 #B74E8F #B7AA4E #4EB775
split-complementary
#4E5BB7 #B7754E #8FB74E
monochromatic
#282F63 #3A448E #4E5BB7 #7A83C9 #A5ACDA

Accessibility & contrast

On white

5.99
#4E5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E5BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BB7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BB7#FFFFFF#000000##FFFFFF
##4E5BB71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#1A5FB5
Tritanopia (blue-blind)
#0A7080
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5bb7;
/* rgb */ color: rgb(78, 91, 183);
/* oklch */ color: oklch(50.9% 0.145 274.1);
Tailwind
colors: {
  custom: {
    50: '#8889cd',
    500: '#4e5bb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bb7;
$custom-light: #8889cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bb7",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 232.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.14453,
    "h": 274.1
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#4E5BB7
secondary
#C8C299
accent
#C356D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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