#4E5AB9#4E5AB9

#4E5AB9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.149 H 274.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4E5AB9
RGBrgb(78, 90, 185)
HSLhsl(233, 43%, 52%)
HSVhsv(233, 58%, 73%)
CMYKcmyk(57.8%, 51.4%, 0%, 27.5%)
CIE-LABlab(41.90, 23.92, -51.83)
CIE-LCHlch(41.90, 57.08, 294.77°)
OKLaboklab(50.83% 0.0115 -0.1482)
OKLCHoklch(50.83% 0.149 274.4)
XYZxyz(15.5522, 12.4337, 47.4699)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AB9 #B9AD4E
analogous
#4E90B9 #4E5AB9 #784EB9
triadic
#4E5AB9 #B94E5A #5AB94E
tetradic
#4E5AB9 #B94E90 #B9AD4E #4EB978
square
#4E5AB9 #B94E90 #B9AD4E #4EB978
split-complementary
#4E5AB9 #B9784E #90B94E
monochromatic
#282F65 #394391 #4E5AB9 #7A83CA #A6ACDC

Accessibility & contrast

On white

6.02
#4E5AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E5AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AB9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AB9#FFFFFF#000000##FFFFFF
##4E5AB91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BC
Deuteranopia (green-blind)
#105EB7
Tritanopia (blue-blind)
#047081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5ab9;
/* rgb */ color: rgb(78, 90, 185);
/* oklch */ color: oklch(50.8% 0.149 274.4);
Tailwind
colors: {
  custom: {
    50: '#8988cf',
    500: '#4e5ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ab9;
$custom-light: #8988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ab9",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 233.271,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.14869,
    "h": 274.4
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#4E5AB9
secondary
#C9C49A
accent
#C555D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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