#4E5EB2#4E5EB2

#4E5EB2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.133 H 272.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E5EB2
RGBrgb(78, 94, 178)
HSLhsl(230, 39%, 50%)
HSVhsv(230, 56%, 70%)
CMYKcmyk(56.2%, 47.2%, 0%, 30.2%)
CIE-LABlab(42.52, 19.03, -46.73)
CIE-LCHlch(42.52, 50.46, 292.16°)
OKLaboklab(51.16% 0.0064 -0.1332)
OKLCHoklch(51.16% 0.133 272.7)
XYZxyz(15.1778, 12.8384, 43.7891)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB2 #B2A24E
analogous
#4E90B2 #4E5EB2 #704EB2
triadic
#4E5EB2 #B24E5E #5EB24E
tetradic
#4E5EB2 #B24E90 #B2A24E #4EB270
square
#4E5EB2 #B24E90 #B2A24E #4EB270
split-complementary
#4E5EB2 #B2704E #90B24E
monochromatic
#29315D #3B4788 #4E5EB2 #7985C5 #A3ACD7

Accessibility & contrast

On white

5.89
#4E5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4E5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB2#FFFFFF#000000##FFFFFF
##4E5EB21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#15717F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5eb2;
/* rgb */ color: rgb(78, 94, 178);
/* oklch */ color: oklch(51.2% 0.133 272.7);
Tailwind
colors: {
  custom: {
    50: '#878bc9',
    500: '#4e5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb2;
$custom-light: #878bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb2",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 230.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.13337,
    "h": 272.7
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#4E5EB2
secondary
#C4BD98
accent
#BC59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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