#4E5ABA#4E5ABA

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

Color values

HEX#4E5ABA
RGBrgb(78, 90, 186)
HSLhsl(233, 44%, 52%)
HSVhsv(233, 58%, 73%)
CMYKcmyk(58.1%, 51.6%, 0%, 27.1%)
CIE-LABlab(41.96, 24.26, -52.31)
CIE-LCHlch(41.96, 57.66, 294.88°)
OKLaboklab(50.9% 0.0116 -0.1497)
OKLCHoklch(50.9% 0.15 274.4)
XYZxyz(15.6581, 12.4760, 48.0278)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ABA #BAAE4E
analogous
#4E90BA #4E5ABA #784EBA
triadic
#4E5ABA #BA4E5A #5ABA4E
tetradic
#4E5ABA #BA4E90 #BAAE4E #4EBA78
square
#4E5ABA #BA4E90 #BAAE4E #4EBA78
split-complementary
#4E5ABA #BA784E #90BA4E
monochromatic
#282F66 #394392 #4E5ABA #7A83CB #A6ACDC

Accessibility & contrast

On white

6.01
#4E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5ABA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ABA#FFFFFF#000000##FFFFFF
##4E5ABA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#0D5FB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5aba;
/* rgb */ color: rgb(78, 90, 186);
/* oklch */ color: oklch(50.9% 0.150 274.4);
Tailwind
colors: {
  custom: {
    50: '#8988cf',
    500: '#4e5aba',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aba;
$custom-light: #8988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aba",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 233.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.15011,
    "h": 274.4
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#4E5ABA
secondary
#CAC49A
accent
#C554D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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