#4E7CD9#4E7CD9

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

Color values

HEX#4E7CD9
RGBrgb(78, 124, 217)
HSLhsl(220, 65%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(64.1%, 42.9%, 0%, 14.9%)
CIE-LABlab(53.00, 13.59, -52.40)
CIE-LCHlch(53.00, 54.14, 284.54°)
OKLaboklab(59.93% -0.0188 -0.1495)
OKLCHoklch(59.93% 0.151 262.8)
XYZxyz(22.8695, 21.0426, 68.4886)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD9 #D9AB4E
analogous
#4EC1D9 #4E7CD9 #654ED9
triadic
#4E7CD9 #D94E7C #7CD94E
tetradic
#4E7CD9 #D94EC1 #D9AB4E #4ED965
square
#4E7CD9 #D94EC1 #D9AB4E #4ED965
split-complementary
#4E7CD9 #D9654E #C1D94E
monochromatic
#1F438E #295BC0 #4E7CD9 #80A1E4 #B3C7EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7CD9#FFFFFF#000000##000000
##4E7CD91.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)
#5185DD
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7cd9;
/* rgb */ color: rgb(78, 124, 217);
/* oklch */ color: oklch(59.9% 0.151 262.8);
Tailwind
colors: {
  custom: {
    50: '#8da1e5',
    500: '#4e7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd9;
$custom-light: #8da1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd9",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 220.144,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.15068,
    "h": 262.8
  },
  "luminance": 0.21045
}

Semantic roles & 50–950 ramp

primary
#4E7CD9
secondary
#DDCBA6
accent
#B040E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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