#4E5BC6#4E5BC6

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

Color values

HEX#4E5BC6
RGBrgb(78, 91, 198)
HSLhsl(234, 51%, 54%)
HSVhsv(234, 61%, 78%)
CMYKcmyk(60.6%, 54%, 0%, 22.4%)
CIE-LABlab(43.03, 27.68, -57.56)
CIE-LCHlch(43.03, 63.87, 295.68°)
OKLaboklab(51.96% 0.0114 -0.1651)
OKLCHoklch(51.96% 0.166 273.9)
XYZxyz(17.0727, 13.1777, 55.0590)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BC6 #C6B94E
analogous
#4E97C6 #4E5BC6 #7D4EC6
triadic
#4E5BC6 #C64E5B #5BC64E
tetradic
#4E5BC6 #C64E97 #C6B94E #4EC67D
square
#4E5BC6 #C64E97 #C6B94E #4EC67D
split-complementary
#4E5BC6 #C67D4E #97C64E
monochromatic
#252E74 #3440A2 #4E5BC6 #7C86D5 #ABB1E4

Accessibility & contrast

On white

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

On black

3.64
#4E5BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E5BC6#FFFFFF#000000##FFFFFF
##4E5BC61.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126BCA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5bc6;
/* rgb */ color: rgb(78, 91, 198);
/* oklch */ color: oklch(52.0% 0.166 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b89d8',
    500: '#4e5bc6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bc6;
$custom-light: #8b89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bc6",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 233.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.1655,
    "h": 273.9
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#4E5BC6
secondary
#D1CC9E
accent
#CB4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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