#4E5FCE#4E5FCE

#4E5FCE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.171 H 272.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5FCE
RGBrgb(78, 95, 206)
HSLhsl(232, 57%, 56%)
HSVhsv(232, 62%, 81%)
CMYKcmyk(62.1%, 53.9%, 0%, 19.2%)
CIE-LABlab(44.60, 27.88, -59.63)
CIE-LCHlch(44.60, 65.83, 295.05°)
OKLaboklab(53.32% 0.008 -0.1711)
OKLCHoklch(53.32% 0.171 272.7)
XYZxyz(18.3710, 14.2588, 60.1647)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FCE #CEBD4E
analogous
#4E9FCE #4E5FCE #7D4ECE
triadic
#4E5FCE #CE4E5F #5FCE4E
tetradic
#4E5FCE #CE4E9F #CEBD4E #4ECE7D
square
#4E5FCE #CE4E9F #CEBD4E #4ECE7D
split-complementary
#4E5FCE #CE7D4E #9FCE4E
monochromatic
#232F7F #3041AE #4E5FCE #7E8ADB #AEB6E9

Accessibility & contrast

On white

5.45
#4E5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4E5FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FCE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FCE#FFFFFF#000000##FFFFFF
##4E5FCE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e5fce;
/* rgb */ color: rgb(78, 95, 206);
/* oklch */ color: oklch(53.3% 0.171 272.7);
Tailwind
colors: {
  custom: {
    50: '#8c8cde',
    500: '#4e5fce',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fce;
$custom-light: #8c8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fce",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 232.031,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.17133,
    "h": 272.7
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#4E5FCE
secondary
#D7CFA1
accent
#CC48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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