#4E7DF2#4E7DF2

#4E7DF2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.183 H 265.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E7DF2
RGBrgb(78, 125, 242)
HSLhsl(223, 86%, 63%)
HSVhsv(223, 68%, 95%)
CMYKcmyk(67.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(54.76, 21.64, -63.57)
CIE-LCHlch(54.76, 67.16, 288.80°)
OKLaboklab(61.76% -0.0159 -0.1823)
OKLCHoklch(61.76% 0.183 265)
XYZxyz(26.4969, 22.6951, 86.9714)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DF2 #F2C34E
analogous
#4ECFF2 #4E7DF2 #714EF2
triadic
#4E7DF2 #F24E7D #7DF24E
tetradic
#4E7DF2 #F24ECF #F2C34E #4EF271
square
#4E7DF2 #F24ECF #F2C34E #4EF271
split-complementary
#4E7DF2 #F2714E #CFF24E
monochromatic
#0E3EB8 #1553EE #4E7DF2 #87A7F6 #C0D1FA

Accessibility & contrast

On white

3.79
#4E7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4E7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DF2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DF2#FFFFFF#000000##000000
##4E7DF21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#077CF0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e7df2;
/* rgb */ color: rgb(78, 125, 242);
/* oklch */ color: oklch(61.8% 0.183 265.0);
Tailwind
colors: {
  custom: {
    50: '#91a2f7',
    500: '#4e7df2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7df2;
$custom-light: #91a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7df2",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 222.805,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.18303,
    "h": 265
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#4E7DF2
secondary
#ECDBB0
accent
#A303E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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