#4E7FD4#4E7FD4

#4E7FD4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.140 H 260.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD4
RGBrgb(78, 127, 212)
HSLhsl(218, 61%, 57%)
HSVhsv(218, 63%, 83%)
CMYKcmyk(63.2%, 40.1%, 0%, 16.9%)
CIE-LABlab(53.55, 10.04, -48.70)
CIE-LCHlch(53.55, 49.73, 281.65°)
OKLaboklab(60.26% -0.0227 -0.1386)
OKLCHoklch(60.26% 0.14 260.7)
XYZxyz(22.6107, 21.5498, 65.2425)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD4 #D4A34E
analogous
#4EC2D4 #4E7FD4 #604ED4
triadic
#4E7FD4 #D44E7F #7FD44E
tetradic
#4E7FD4 #D44EC2 #D4A34E #4ED460
square
#4E7FD4 #D44EC2 #D4A34E #4ED460
split-complementary
#4E7FD4 #D4604E #C2D44E
monochromatic
#214687 #2D60B8 #4E7FD4 #7FA3E0 #B0C6EC

Accessibility & contrast

On white

3.95
#4E7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4E7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD4#FFFFFF#000000##000000
##4E7FD41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D7
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7fd4;
/* rgb */ color: rgb(78, 127, 212);
/* oklch */ color: oklch(60.3% 0.140 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ca3e2',
    500: '#4e7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd4;
$custom-light: #8ca3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd4",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 218.06,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.14047,
    "h": 260.7
  },
  "luminance": 0.21552
}

Semantic roles & 50–950 ramp

primary
#4E7FD4
secondary
#DAC6A4
accent
#A944E4
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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