#4E5DB8#4E5DB8

#4E5DB8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.143 H 273.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4E5DB8
RGBrgb(78, 93, 184)
HSLhsl(232, 43%, 51%)
HSVhsv(232, 58%, 72%)
CMYKcmyk(57.6%, 49.5%, 0%, 27.8%)
CIE-LABlab(42.62, 21.68, -50.08)
CIE-LCHlch(42.62, 54.57, 293.41°)
OKLaboklab(51.36% 0.0082 -0.1431)
OKLCHoklch(51.36% 0.143 273.3)
XYZxyz(15.7051, 12.9079, 47.0020)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB8 #B8A94E
analogous
#4E92B8 #4E5DB8 #744EB8
triadic
#4E5DB8 #B84E5D #5DB84E
tetradic
#4E5DB8 #B84E92 #B8A94E #4EB874
square
#4E5DB8 #B84E92 #B8A94E #4EB874
split-complementary
#4E5DB8 #B8744E #92B84E
monochromatic
#283064 #39468F #4E5DB8 #7A85CA #A5ADDB

Accessibility & contrast

On white

5.86
#4E5DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5DB8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB8#FFFFFF#000000##FFFFFF
##4E5DB81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#057182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5db8;
/* rgb */ color: rgb(78, 93, 184);
/* oklch */ color: oklch(51.4% 0.143 273.3);
Tailwind
colors: {
  custom: {
    50: '#888ace',
    500: '#4e5db8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db8;
$custom-light: #888ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db8",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 231.509,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.14329,
    "h": 273.3
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#4E5DB8
secondary
#C8C29A
accent
#C155D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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