#4E7DE9#4E7DE9

#4E7DE9 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.171 H 264.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4E7DE9
RGBrgb(78, 125, 233)
HSLhsl(222, 78%, 61%)
HSVhsv(222, 67%, 91%)
CMYKcmyk(66.5%, 46.4%, 0%, 8.6%)
CIE-LABlab(54.20, 18.51, -59.45)
CIE-LCHlch(54.20, 62.26, 287.30°)
OKLaboklab(61.16% -0.0171 -0.1702)
OKLCHoklch(61.16% 0.171 264.3)
XYZxyz(25.1783, 22.1677, 80.0269)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DE9 #E9BA4E
analogous
#4ECBE9 #4E7DE9 #6C4EE9
triadic
#4E7DE9 #E94E7D #7DE94E
tetradic
#4E7DE9 #E94ECB #E9BA4E #4EE96C
square
#4E7DE9 #E94ECB #E9BA4E #4EE96C
split-complementary
#4E7DE9 #E96C4E #CBE94E
monochromatic
#1541A8 #1C57DE #4E7DE9 #84A5F0 #BBCDF7

Accessibility & contrast

On white

3.86
#4E7DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4E7DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DE9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DE9#FFFFFF#000000##000000
##4E7DE91.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4689ED
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7de9;
/* rgb */ color: rgb(78, 125, 233);
/* oklch */ color: oklch(61.2% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#8fa2f1',
    500: '#4e7de9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7de9;
$custom-light: #8fa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7de9",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 233
  },
  "hsl": {
    "h": 221.806,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.17106,
    "h": 264.3
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#4E7DE9
secondary
#E7D5AC
accent
#9B0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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