#4E7EDA#4E7EDA

#4E7EDA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.4% C 0.150 H 262.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E7EDA
RGBrgb(78, 126, 218)
HSLhsl(219, 65%, 58%)
HSVhsv(219, 64%, 85%)
CMYKcmyk(64.2%, 42.2%, 0%, 14.5%)
CIE-LABlab(53.60, 12.71, -52.00)
CIE-LCHlch(53.60, 53.53, 283.74°)
OKLaboklab(60.41% -0.0205 -0.1483)
OKLCHoklch(60.41% 0.15 262.1)
XYZxyz(23.2532, 21.6012, 69.2601)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EDA #DAAA4E
analogous
#4EC4DA #4E7EDA #644EDA
triadic
#4E7EDA #DA4E7E #7EDA4E
tetradic
#4E7EDA #DA4EC4 #DAAA4E #4EDA64
square
#4E7EDA #DA4EC4 #DAAA4E #4EDA64
split-complementary
#4E7EDA #DA644E #C4DA4E
monochromatic
#1E4590 #295DC2 #4E7EDA #81A3E5 #B3C8EF

Accessibility & contrast

On white

3.95
#4E7EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4E7EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EDA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EDA#FFFFFF#000000##000000
##4E7EDA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DE
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7eda;
/* rgb */ color: rgb(78, 126, 218);
/* oklch */ color: oklch(60.4% 0.150 262.1);
Tailwind
colors: {
  custom: {
    50: '#8da2e6',
    500: '#4e7eda',
    950: '#000000',
  },
}
SCSS
$custom: #4e7eda;
$custom-light: #8da2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7eda",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 219.429,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.14973,
    "h": 262.1
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#4E7EDA
secondary
#DECBA6
accent
#AE3FE8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4E7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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