#4E5FC6#4E5FC6

#4E5FC6 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.160 H 272.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC6
RGBrgb(78, 95, 198)
HSLhsl(232, 51%, 54%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(60.6%, 52%, 0%, 22.4%)
CIE-LABlab(44.06, 25.15, -55.90)
CIE-LCHlch(44.06, 61.30, 294.23°)
OKLaboklab(52.74% 0.0074 -0.1602)
OKLCHoklch(52.74% 0.16 272.7)
XYZxyz(17.4238, 13.8799, 55.1760)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC6 #C6B54E
analogous
#4E9BC6 #4E5FC6 #794EC6
triadic
#4E5FC6 #C64E5F #5FC64E
tetradic
#4E5FC6 #C64E9B #C6B54E #4EC679
square
#4E5FC6 #C64E9B #C6B54E #4EC679
split-complementary
#4E5FC6 #C6794E #9BC64E
monochromatic
#253174 #3444A2 #4E5FC6 #7C89D5 #ABB3E4

Accessibility & contrast

On white

5.56
#4E5FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E5FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC6#FFFFFF#000000##FFFFFF
##4E5FC61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5fc6;
/* rgb */ color: rgb(78, 95, 198);
/* oklch */ color: oklch(52.7% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#8a8cd8',
    500: '#4e5fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc6;
$custom-light: #8a8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc6",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 231.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.16034,
    "h": 272.7
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#4E5FC6
secondary
#D1CA9E
accent
#C74DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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