#4E7FD2#4E7FD2

#4E7FD2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.1% C 0.138 H 260.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD2
RGBrgb(78, 127, 210)
HSLhsl(218, 59%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(62.9%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.44, 9.36, -47.75)
CIE-LCHlch(53.44, 48.65, 281.09°)
OKLaboklab(60.14% -0.0232 -0.1358)
OKLCHoklch(60.14% 0.138 260.3)
XYZxyz(22.3600, 21.4495, 63.9221)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD2 #D2A14E
analogous
#4EC1D2 #4E7FD2 #5F4ED2
triadic
#4E7FD2 #D24E7F #7FD24E
tetradic
#4E7FD2 #D24EC1 #D2A14E #4ED25F
square
#4E7FD2 #D24EC1 #D2A14E #4ED25F
split-complementary
#4E7FD2 #D25F4E #C1D24E
monochromatic
#224684 #2E60B5 #4E7FD2 #7FA2DE #B0C6EB

Accessibility & contrast

On white

3.97
#4E7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4E7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD2#FFFFFF#000000##000000
##4E7FD21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D5
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7fd2;
/* rgb */ color: rgb(78, 127, 210);
/* oklch */ color: oklch(60.1% 0.138 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ba3e0',
    500: '#4e7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd2;
$custom-light: #8ba3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd2",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 217.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.13777,
    "h": 260.3
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#4E7FD2
secondary
#D9C5A3
accent
#A845E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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