#4E5EB8#4E5EB8

#4E5EB8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.142 H 272.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4E5EB8
RGBrgb(78, 94, 184)
HSLhsl(231, 43%, 51%)
HSVhsv(231, 58%, 72%)
CMYKcmyk(57.6%, 48.9%, 0%, 27.8%)
CIE-LABlab(42.89, 21.05, -49.65)
CIE-LCHlch(42.89, 53.93, 292.97°)
OKLaboklab(51.56% 0.0071 -0.1418)
OKLCHoklch(51.56% 0.142 272.9)
XYZxyz(15.7935, 13.0846, 47.0314)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB8 #B8A84E
analogous
#4E93B8 #4E5EB8 #734EB8
triadic
#4E5EB8 #B84E5E #5EB84E
tetradic
#4E5EB8 #B84E93 #B8A84E #4EB873
square
#4E5EB8 #B84E93 #B8A84E #4EB873
split-complementary
#4E5EB8 #B8734E #93B84E
monochromatic
#283164 #39468F #4E5EB8 #7A86CA #A5ADDB

Accessibility & contrast

On white

5.81
#4E5EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E5EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB8#FFFFFF#000000##FFFFFF
##4E5EB81.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#057282
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5eb8;
/* rgb */ color: rgb(78, 94, 184);
/* oklch */ color: oklch(51.6% 0.142 272.9);
Tailwind
colors: {
  custom: {
    50: '#888bce',
    500: '#4e5eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb8;
$custom-light: #888bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb8",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 230.943,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.14197,
    "h": 272.9
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#4E5EB8
secondary
#C8C19A
accent
#C055D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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