#4E4FEB#4E4FEB

#4E4FEB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.228 H 275.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E4FEB
RGBrgb(78, 79, 235)
HSLhsl(240, 80%, 61%)
HSVhsv(240, 67%, 92%)
CMYKcmyk(66.8%, 66.4%, 0%, 7.8%)
CIE-LABlab(43.07, 47.29, -78.64)
CIE-LCHlch(43.07, 91.76, 301.02°)
OKLaboklab(52.89% 0.02 -0.2271)
OKLCHoklch(52.89% 0.228 275)
XYZxyz(20.9283, 13.2079, 80.0276)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FEB #EBEA4E
analogous
#4E9EEB #4E4FEB #9C4EEB
triadic
#4E4FEB #EB4E4F #4FEB4E
tetradic
#4E4FEB #EB4E9E #EBEA4E #4EEB9C
square
#4E4FEB #EB4E9E #EBEA4E #4EEB9C
split-complementary
#4E4FEB #EB9C4E #9EEB4E
monochromatic
#1314AB #1A1BE2 #4E4FEB #8586F1 #BCBCF7

Accessibility & contrast

On white

5.77
#4E4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E4FEB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FEB#FFFFFF#000000##FFFFFF
##4E4FEB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e4feb;
/* rgb */ color: rgb(78, 79, 235);
/* oklch */ color: oklch(52.9% 0.228 275.0);
Tailwind
colors: {
  custom: {
    50: '#9281f3',
    500: '#4e4feb',
    950: '#000000',
  },
}
SCSS
$custom: #4e4feb;
$custom-light: #9281f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4feb",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 239.618,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.22796,
    "h": 275
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#4E4FEB
secondary
#E8E7AD
accent
#DB09DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4E4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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