#4E5AA2#4E5AA2

#4E5AA2 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.3% C 0.115 H 274.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E5AA2
RGBrgb(78, 90, 162)
HSLhsl(231, 35%, 47%)
HSVhsv(231, 52%, 64%)
CMYKcmyk(51.9%, 44.4%, 0%, 36.5%)
CIE-LABlab(40.48, 16.27, -40.54)
CIE-LCHlch(40.48, 43.68, 291.87°)
OKLaboklab(49.3% 0.0086 -0.1151)
OKLCHoklch(49.3% 0.115 274.3)
XYZxyz(13.3176, 11.5398, 35.7011)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA2 #A2964E
analogous
#4E84A2 #4E5AA2 #6C4EA2
triadic
#4E5AA2 #A24E5A #5AA24E
tetradic
#4E5AA2 #A24E84 #A2964E #4EA26C
square
#4E5AA2 #A24E84 #A2964E #4EA26C
split-complementary
#4E5AA2 #A26C4E #84A24E
monochromatic
#262C4F #3A4379 #4E5AA2 #727DBB #9BA3CF

Accessibility & contrast

On white

6.35
#4E5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E5AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA2#FFFFFF#000000##FFFFFF
##4E5AA21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#2A6976
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5aa2;
/* rgb */ color: rgb(78, 90, 162);
/* oklch */ color: oklch(49.3% 0.115 274.3);
Tailwind
colors: {
  custom: {
    50: '#8588be',
    500: '#4e5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa2;
$custom-light: #8588be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa2",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 231.429,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49295,
    "c": 0.11541,
    "h": 274.3
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#4E5AA2
secondary
#BCB590
accent
#BB5DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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