#4E5BBA#4E5BBA

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

Color values

HEX#4E5BBA
RGBrgb(78, 91, 186)
HSLhsl(233, 44%, 52%)
HSVhsv(233, 58%, 73%)
CMYKcmyk(58.1%, 51.1%, 0%, 27.1%)
CIE-LABlab(42.22, 23.62, -51.89)
CIE-LCHlch(42.22, 57.01, 294.48°)
OKLaboklab(51.1% 0.0105 -0.1484)
OKLCHoklch(51.1% 0.149 274.1)
XYZxyz(15.7430, 12.6459, 48.0562)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BBA #BAAD4E
analogous
#4E91BA #4E5BBA #774EBA
triadic
#4E5BBA #BA4E5B #5BBA4E
tetradic
#4E5BBA #BA4E91 #BAAD4E #4EBA77
square
#4E5BBA #BA4E91 #BAAD4E #4EBA77
split-complementary
#4E5BBA #BA774E #91BA4E
monochromatic
#282F66 #394492 #4E5BBA #7A84CB #A6ADDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5BBA#FFFFFF#000000##FFFFFF
##4E5BBA1.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)
#2868BD
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5bba;
/* rgb */ color: rgb(78, 91, 186);
/* oklch */ color: oklch(51.1% 0.149 274.1);
Tailwind
colors: {
  custom: {
    50: '#8989cf',
    500: '#4e5bba',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bba;
$custom-light: #8989cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bba",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 232.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.511,
    "c": 0.14878,
    "h": 274.1
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#4E5BBA
secondary
#CAC49A
accent
#C454D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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