#4E5EB3#4E5EB3

#4E5EB3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.135 H 272.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4E5EB3
RGBrgb(78, 94, 179)
HSLhsl(230, 40%, 50%)
HSVhsv(230, 56%, 70%)
CMYKcmyk(56.4%, 47.5%, 0%, 29.8%)
CIE-LABlab(42.58, 19.36, -47.22)
CIE-LCHlch(42.58, 51.04, 292.30°)
OKLaboklab(51.23% 0.0065 -0.1347)
OKLCHoklch(51.23% 0.135 272.8)
XYZxyz(15.2786, 12.8787, 44.3198)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB3 #B3A34E
analogous
#4E90B3 #4E5EB3 #704EB3
triadic
#4E5EB3 #B34E5E #5EB34E
tetradic
#4E5EB3 #B34E90 #B3A34E #4EB370
square
#4E5EB3 #B34E90 #B3A34E #4EB370
split-complementary
#4E5EB3 #B3704E #90B34E
monochromatic
#28315E #3B4789 #4E5EB3 #7985C5 #A4ACD8

Accessibility & contrast

On white

5.87
#4E5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4E5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB3#FFFFFF#000000##FFFFFF
##4E5EB31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#2860B1
Tritanopia (blue-blind)
#137180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5eb3;
/* rgb */ color: rgb(78, 94, 179);
/* oklch */ color: oklch(51.2% 0.135 272.8);
Tailwind
colors: {
  custom: {
    50: '#878bca',
    500: '#4e5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb3;
$custom-light: #878bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb3",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 230.495,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.13482,
    "h": 272.8
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#4E5EB3
secondary
#C5BE98
accent
#BD58D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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