#4E7CD4#4E7CD4

#4E7CD4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.144 H 262.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E7CD4
RGBrgb(78, 124, 212)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 63%, 83%)
CMYKcmyk(63.2%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.71, 11.87, -50.03)
CIE-LCHlch(52.71, 51.42, 283.35°)
OKLaboklab(59.62% -0.0197 -0.1425)
OKLCHoklch(59.62% 0.144 262.1)
XYZxyz(22.2290, 20.7864, 65.1153)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD4 #D4A64E
analogous
#4EBFD4 #4E7CD4 #634ED4
triadic
#4E7CD4 #D44E7C #7CD44E
tetradic
#4E7CD4 #D44EBF #D4A64E #4ED463
square
#4E7CD4 #D44EBF #D4A64E #4ED463
split-complementary
#4E7CD4 #D4634E #BFD44E
monochromatic
#214487 #2D5DB8 #4E7CD4 #7FA0E0 #B0C5EC

Accessibility & contrast

On white

4.07
#4E7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CD4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CD4#FFFFFF#000000##000000
##4E7CD41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D7
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7cd4;
/* rgb */ color: rgb(78, 124, 212);
/* oklch */ color: oklch(59.6% 0.144 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca1e2',
    500: '#4e7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd4;
$custom-light: #8ca1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd4",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 219.403,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.1439,
    "h": 262.1
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#4E7CD4
secondary
#DAC7A4
accent
#AD44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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