#4E7EDB#4E7EDB

#4E7EDB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.151 H 262.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7EDB
RGBrgb(78, 126, 219)
HSLhsl(220, 66%, 58%)
HSVhsv(220, 64%, 86%)
CMYKcmyk(64.4%, 42.5%, 0%, 14.1%)
CIE-LABlab(53.66, 13.06, -52.47)
CIE-LCHlch(53.66, 54.07, 283.97°)
OKLaboklab(60.47% -0.0203 -0.1497)
OKLCHoklch(60.47% 0.151 262.3)
XYZxyz(23.3844, 21.6537, 69.9513)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EDB #DBAB4E
analogous
#4EC5DB #4E7EDB #644EDB
triadic
#4E7EDB #DB4E7E #7EDB4E
tetradic
#4E7EDB #DB4EC5 #DBAB4E #4EDB64
square
#4E7EDB #DB4EC5 #DBAB4E #4EDB64
split-complementary
#4E7EDB #DB644E #C5DB4E
monochromatic
#1E4591 #285DC4 #4E7EDB #81A3E5 #B4C8F0

Accessibility & contrast

On white

3.94
#4E7EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E7EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EDB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EDB#FFFFFF#000000##000000
##4E7EDB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7edb;
/* rgb */ color: rgb(78, 126, 219);
/* oklch */ color: oklch(60.5% 0.151 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da2e7',
    500: '#4e7edb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7edb;
$custom-light: #8da2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7edb",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 219.574,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.15108,
    "h": 262.3
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#4E7EDB
secondary
#DECBA6
accent
#AF3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4E7EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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