#4E7ED1#4E7ED1

#4E7ED1 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.138 H 260.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED1
RGBrgb(78, 126, 209)
HSLhsl(218, 59%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(62.7%, 39.7%, 0%, 18%)
CIE-LABlab(53.11, 9.63, -47.71)
CIE-LCHlch(53.11, 48.67, 281.41°)
OKLaboklab(59.87% -0.0224 -0.1357)
OKLCHoklch(59.87% 0.138 260.6)
XYZxyz(22.1073, 21.1428, 63.2252)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED1 #D1A14E
analogous
#4EC0D1 #4E7ED1 #604ED1
triadic
#4E7ED1 #D14E7E #7ED14E
tetradic
#4E7ED1 #D14EC0 #D1A14E #4ED160
square
#4E7ED1 #D14EC0 #D1A14E #4ED160
split-complementary
#4E7ED1 #D1604E #C0D14E
monochromatic
#224583 #2F5FB3 #4E7ED1 #7FA1DE #AFC5EA

Accessibility & contrast

On white

4.02
#4E7ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E7ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED1#FFFFFF#000000##000000
##4E7ED11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5985D4
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed1;
/* rgb */ color: rgb(78, 126, 209);
/* oklch */ color: oklch(59.9% 0.138 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ba2df',
    500: '#4e7ed1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed1;
$custom-light: #8ba2df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed1",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 209
  },
  "hsl": {
    "h": 218.015,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.13754,
    "h": 260.6
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#4E7ED1
secondary
#D8C5A2
accent
#A946E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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