#4E7ED0#4E7ED0

#4E7ED0 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.136 H 260.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED0
RGBrgb(78, 126, 208)
HSLhsl(218, 58%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(62.5%, 39.4%, 0%, 18.4%)
CIE-LABlab(53.05, 9.28, -47.23)
CIE-LCHlch(53.05, 48.13, 281.12°)
OKLaboklab(59.81% -0.0226 -0.1343)
OKLCHoklch(59.81% 0.136 260.5)
XYZxyz(21.9839, 21.0935, 62.5752)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED0 #D0A04E
analogous
#4EBFD0 #4E7ED0 #5F4ED0
triadic
#4E7ED0 #D04E7E #7ED04E
tetradic
#4E7ED0 #D04EBF #D0A04E #4ED05F
square
#4E7ED0 #D04EBF #D0A04E #4ED05F
split-complementary
#4E7ED0 #D05F4E #BFD04E
monochromatic
#224581 #2F5FB2 #4E7ED0 #7EA1DD #AFC4EA

Accessibility & contrast

On white

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

On black

5.22
#4E7ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED0#FFFFFF#000000##000000
##4E7ED01.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D3
Deuteranopia (green-blind)
#4779CE
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed0;
/* rgb */ color: rgb(78, 126, 208);
/* oklch */ color: oklch(59.8% 0.136 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ba2df',
    500: '#4e7ed0',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed0;
$custom-light: #8ba2df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed0",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 208
  },
  "hsl": {
    "h": 217.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.13618,
    "h": 260.5
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#4E7ED0
secondary
#D8C4A2
accent
#A847E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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