#4E7DD8#4E7DD8

#4E7DD8 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.148 H 262.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4E7DD8
RGBrgb(78, 125, 216)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(63.9%, 42.1%, 0%, 15.3%)
CIE-LABlab(53.21, 12.63, -51.49)
CIE-LCHlch(53.21, 53.02, 283.79°)
OKLaboklab(60.08% -0.0199 -0.1468)
OKLCHoklch(60.08% 0.148 262.3)
XYZxyz(22.8658, 21.2427, 67.8477)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DD8 #D8A94E
analogous
#4EC2D8 #4E7DD8 #644ED8
triadic
#4E7DD8 #D84E7D #7DD84E
tetradic
#4E7DD8 #D84EC2 #D8A94E #4ED864
square
#4E7DD8 #D84EC2 #D8A94E #4ED864
split-complementary
#4E7DD8 #D8644E #C2D84E
monochromatic
#1F448D #2A5DBF #4E7DD8 #80A2E3 #B2C7EE

Accessibility & contrast

On white

4.00
#4E7DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4E7DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DD8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DD8#FFFFFF#000000##000000
##4E7DD81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DC
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7dd8;
/* rgb */ color: rgb(78, 125, 216);
/* oklch */ color: oklch(60.1% 0.148 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ca2e4',
    500: '#4e7dd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dd8;
$custom-light: #8ca2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dd8",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 216
  },
  "hsl": {
    "h": 219.565,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.14817,
    "h": 262.3
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#4E7DD8
secondary
#DDCAA5
accent
#AE41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4E7DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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