#4E5EBA#4E5EBA

#4E5EBA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.145 H 272.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4E5EBA
RGBrgb(78, 94, 186)
HSLhsl(231, 44%, 52%)
HSVhsv(231, 58%, 73%)
CMYKcmyk(58.1%, 49.5%, 0%, 27.1%)
CIE-LABlab(43.02, 21.72, -50.61)
CIE-LCHlch(43.02, 55.08, 293.23°)
OKLaboklab(51.7% 0.0073 -0.1446)
OKLCHoklch(51.7% 0.145 272.9)
XYZxyz(16.0046, 13.1691, 48.1434)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EBA #BAAA4E
analogous
#4E94BA #4E5EBA #744EBA
triadic
#4E5EBA #BA4E5E #5EBA4E
tetradic
#4E5EBA #BA4E94 #BAAA4E #4EBA74
square
#4E5EBA #BA4E94 #BAAA4E #4EBA74
split-complementary
#4E5EBA #BA744E #94BA4E
monochromatic
#283166 #394692 #4E5EBA #7A86CB #A6AEDC

Accessibility & contrast

On white

5.78
#4E5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EBA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EBA#FFFFFF#000000##FFFFFF
##4E5EBA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5eba;
/* rgb */ color: rgb(78, 94, 186);
/* oklch */ color: oklch(51.7% 0.145 272.9);
Tailwind
colors: {
  custom: {
    50: '#898bcf',
    500: '#4e5eba',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eba;
$custom-light: #898bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eba",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 231.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.14482,
    "h": 272.9
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#4E5EBA
secondary
#CAC39A
accent
#C154D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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