#4E51FF#4E51FF

#4E51FF is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.0% C 0.250 H 273.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E51FF
RGBrgb(78, 81, 255)
HSLhsl(239, 100%, 65%)
HSVhsv(239, 69%, 100%)
CMYKcmyk(69.4%, 68.2%, 0%, 0%)
CIE-LABlab(45.25, 52.58, -86.28)
CIE-LCHlch(45.25, 101.04, 301.36°)
OKLaboklab(55% 0.0164 -0.2494)
OKLCHoklch(55% 0.25 273.8)
XYZxyz(24.1283, 14.7222, 96.1585)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E51FF #FFFC4E
analogous
#4EA9FF #4E51FF #A34EFF
triadic
#4E51FF #FF4E51 #51FF4E
tetradic
#4E51FF #FF4EA9 #FFFC4E #4EFFA3
square
#4E51FF #FF4EA9 #FFFC4E #4EFFA3
split-complementary
#4E51FF #FFA34E #A9FF4E
monochromatic
#0004D3 #1115FF #4E51FF #8B8DFF #C8C9FF

Accessibility & contrast

On white

5.32
#4E51FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E51FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E51FF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E51FF#FFFFFF#000000##FFFFFF
##4E51FF1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0063FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e51ff;
/* rgb */ color: rgb(78, 81, 255);
/* oklch */ color: oklch(55.0% 0.250 273.8);
Tailwind
colors: {
  custom: {
    50: '#9683ff',
    500: '#4e51ff',
    950: '#000000',
  },
}
SCSS
$custom: #4e51ff;
$custom-light: #9683ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e51ff",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 238.983,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.24996,
    "h": 273.8
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#4E51FF
secondary
#F2F1B7
accent
#E200E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4E51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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