#4E7EC8#4E7EC8

#4E7EC8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.125 H 258.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC8
RGBrgb(78, 126, 200)
HSLhsl(216, 53%, 55%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(61%, 37%, 0%, 21.6%)
CIE-LABlab(52.63, 6.57, -43.35)
CIE-LCHlch(52.63, 43.85, 278.62°)
OKLaboklab(59.34% -0.0244 -0.123)
OKLCHoklch(59.34% 0.125 258.8)
XYZxyz(21.0244, 20.7097, 57.5218)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC8 #C8984E
analogous
#4EBBC8 #4E7EC8 #5B4EC8
triadic
#4E7EC8 #C84E7E #7EC84E
tetradic
#4E7EC8 #C84EBB #C8984E #4EC85B
square
#4E7EC8 #C84EBB #C8984E #4EC85B
split-complementary
#4E7EC8 #C85B4E #BBC84E
monochromatic
#254577 #3360A5 #4E7EC8 #7DA0D7 #ABC2E5

Accessibility & contrast

On white

4.08
#4E7EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4E7EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC8#FFFFFF#000000##000000
##4E7EC81.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#4E78C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ec8;
/* rgb */ color: rgb(78, 126, 200);
/* oklch */ color: oklch(59.3% 0.125 258.8);
Tailwind
colors: {
  custom: {
    50: '#8aa3d9',
    500: '#4e7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec8;
$custom-light: #8aa3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec8",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 216.393,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.12536,
    "h": 258.8
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#4E7EC8
secondary
#D3BE9F
accent
#A34CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4E7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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