#4E7ED9#4E7ED9

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

Color values

HEX#4E7ED9
RGBrgb(78, 126, 217)
HSLhsl(219, 65%, 58%)
HSVhsv(219, 64%, 85%)
CMYKcmyk(64.1%, 41.9%, 0%, 14.9%)
CIE-LABlab(53.55, 12.37, -51.53)
CIE-LCHlch(53.55, 52.99, 283.50°)
OKLaboklab(60.35% -0.0207 -0.1469)
OKLCHoklch(60.35% 0.148 262)
XYZxyz(23.1227, 21.5490, 68.5730)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED9 #D9A94E
analogous
#4EC3D9 #4E7ED9 #644ED9
triadic
#4E7ED9 #D94E7E #7ED94E
tetradic
#4E7ED9 #D94EC3 #D9A94E #4ED964
square
#4E7ED9 #D94EC3 #D9A94E #4ED964
split-complementary
#4E7ED9 #D9644E #C3D94E
monochromatic
#1F458E #295EC0 #4E7ED9 #80A3E4 #B3C7EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7ED9#FFFFFF#000000##000000
##4E7ED91.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)
#5487DD
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7ed9;
/* rgb */ color: rgb(78, 126, 217);
/* oklch */ color: oklch(60.4% 0.148 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca2e5',
    500: '#4e7ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed9;
$custom-light: #8ca2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed9",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 217
  },
  "hsl": {
    "h": 219.281,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.14837,
    "h": 262
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#4E7ED9
secondary
#DDCAA6
accent
#AE40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4E7ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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