#4E5AA8#4E5AA8

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

Color values

HEX#4E5AA8
RGBrgb(78, 90, 168)
HSLhsl(232, 37%, 48%)
HSVhsv(232, 54%, 66%)
CMYKcmyk(53.6%, 46.4%, 0%, 34.1%)
CIE-LABlab(40.83, 18.24, -43.54)
CIE-LCHlch(40.83, 47.21, 292.74°)
OKLaboklab(49.68% 0.0095 -0.1239)
OKLCHoklch(49.68% 0.124 274.4)
XYZxyz(13.8637, 11.7583, 38.5772)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA8 #A89C4E
analogous
#4E87A8 #4E5AA8 #6F4EA8
triadic
#4E5AA8 #A84E5A #5AA84E
tetradic
#4E5AA8 #A84E87 #A89C4E #4EA86F
square
#4E5AA8 #A84E87 #A89C4E #4EA86F
split-complementary
#4E5AA8 #A86F4E #87A84E
monochromatic
#272D54 #3B447E #4E5AA8 #757EBF #9EA5D2

Accessibility & contrast

On white

6.27
#4E5AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E5AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA8#FFFFFF#000000##FFFFFF
##4E5AA81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#2D5DA6
Tritanopia (blue-blind)
#246B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5aa8;
/* rgb */ color: rgb(78, 90, 168);
/* oklch */ color: oklch(49.7% 0.124 274.4);
Tailwind
colors: {
  custom: {
    50: '#8688c2',
    500: '#4e5aa8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa8;
$custom-light: #8688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa8",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 232,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.12425,
    "h": 274.4
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#4E5AA8
secondary
#BFB993
accent
#BD5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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