#4E7ED2#4E7ED2

#4E7ED2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.139 H 260.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED2
RGBrgb(78, 126, 210)
HSLhsl(218, 59%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(62.9%, 40%, 0%, 17.6%)
CIE-LABlab(53.16, 9.97, -48.19)
CIE-LCHlch(53.16, 49.21, 281.69°)
OKLaboklab(59.93% -0.0221 -0.1371)
OKLCHoklch(59.93% 0.139 260.8)
XYZxyz(22.2315, 21.1925, 63.8792)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED2 #D2A24E
analogous
#4EC0D2 #4E7ED2 #604ED2
triadic
#4E7ED2 #D24E7E #7ED24E
tetradic
#4E7ED2 #D24EC0 #D2A24E #4ED260
square
#4E7ED2 #D24EC0 #D2A24E #4ED260
split-complementary
#4E7ED2 #D2604E #C0D24E
monochromatic
#224584 #2E5FB5 #4E7ED2 #7FA2DE #B0C5EB

Accessibility & contrast

On white

4.01
#4E7ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4E7ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED2#FFFFFF#000000##000000
##4E7ED21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#4679D0
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed2;
/* rgb */ color: rgb(78, 126, 210);
/* oklch */ color: oklch(59.9% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba2e0',
    500: '#4e7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed2;
$custom-light: #8ba2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed2",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 218.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.1389,
    "h": 260.8
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#4E7ED2
secondary
#D9C5A3
accent
#A945E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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