#4E7DD4#4E7DD4

#4E7DD4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.143 H 261.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E7DD4
RGBrgb(78, 125, 212)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 63%, 83%)
CMYKcmyk(63.2%, 41%, 0%, 16.9%)
CIE-LABlab(52.99, 11.26, -49.59)
CIE-LCHlch(52.99, 50.85, 282.79°)
OKLaboklab(59.83% -0.0207 -0.1412)
OKLCHoklch(59.83% 0.143 261.7)
XYZxyz(22.3550, 21.0383, 65.1573)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DD4 #D4A54E
analogous
#4EC0D4 #4E7DD4 #624ED4
triadic
#4E7DD4 #D44E7D #7DD44E
tetradic
#4E7DD4 #D44EC0 #D4A54E #4ED462
square
#4E7DD4 #D44EC0 #D4A54E #4ED462
split-complementary
#4E7DD4 #D4624E #C0D44E
monochromatic
#214587 #2D5EB8 #4E7DD4 #7FA1E0 #B0C5EC

Accessibility & contrast

On white

4.03
#4E7DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E7DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DD4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DD4#FFFFFF#000000##000000
##4E7DD41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#4279D2
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7dd4;
/* rgb */ color: rgb(78, 125, 212);
/* oklch */ color: oklch(59.8% 0.143 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4e7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dd4;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dd4",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 218.955,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.14274,
    "h": 261.7
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#4E7DD4
secondary
#DAC7A4
accent
#AC44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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