#4E7FF2#4E7FF2

#4E7FF2 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.181 H 264.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E7FF2
RGBrgb(78, 127, 242)
HSLhsl(222, 86%, 63%)
HSVhsv(222, 68%, 95%)
CMYKcmyk(67.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(55.28, 20.42, -62.72)
CIE-LCHlch(55.28, 65.96, 288.03°)
OKLaboklab(62.16% -0.0176 -0.1798)
OKLCHoklch(62.16% 0.181 264.4)
XYZxyz(26.7526, 23.2066, 87.0566)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FF2 #F2C14E
analogous
#4ED1F2 #4E7FF2 #6F4EF2
triadic
#4E7FF2 #F24E7F #7FF24E
tetradic
#4E7FF2 #F24ED1 #F2C14E #4EF26F
square
#4E7FF2 #F24ED1 #F2C14E #4EF26F
split-complementary
#4E7FF2 #F26F4E #D1F24E
monochromatic
#0E40B8 #1556EE #4E7FF2 #87A8F6 #C0D1FA

Accessibility & contrast

On white

3.72
#4E7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4E7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FF2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FF2#FFFFFF#000000##000000
##4E7FF21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#167DF0
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e7ff2;
/* rgb */ color: rgb(78, 127, 242);
/* oklch */ color: oklch(62.2% 0.181 264.4);
Tailwind
colors: {
  custom: {
    50: '#91a3f7',
    500: '#4e7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ff2;
$custom-light: #91a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ff2",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 222.073,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.18067,
    "h": 264.4
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#4E7FF2
secondary
#ECDAB0
accent
#A003E3
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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