#4E7AF2#4E7AF2

#4E7AF2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.187 H 265.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E7AF2
RGBrgb(78, 122, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 68%, 95%)
CMYKcmyk(67.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(53.97, 23.49, -64.84)
CIE-LCHlch(53.97, 68.96, 289.91°)
OKLaboklab(61.16% -0.0133 -0.1861)
OKLCHoklch(61.16% 0.187 265.9)
XYZxyz(26.1228, 21.9470, 86.8467)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AF2 #F2C64E
analogous
#4ECCF2 #4E7AF2 #744EF2
triadic
#4E7AF2 #F24E7A #7AF24E
tetradic
#4E7AF2 #F24ECC #F2C64E #4EF274
square
#4E7AF2 #F24ECC #F2C64E #4EF274
split-complementary
#4E7AF2 #F2744E #CCF24E
monochromatic
#0E3BB8 #154FEE #4E7AF2 #87A5F6 #C0D0FA

Accessibility & contrast

On white

3.90
#4E7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4E7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AF2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AF2#FFFFFF#000000##000000
##4E7AF21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7af2;
/* rgb */ color: rgb(78, 122, 242);
/* oklch */ color: oklch(61.2% 0.187 265.9);
Tailwind
colors: {
  custom: {
    50: '#919ff7',
    500: '#4e7af2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7af2;
$custom-light: #919ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7af2",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 223.902,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.18658,
    "h": 265.9
  },
  "luminance": 0.2195
}

Semantic roles & 50–950 ramp

primary
#4E7AF2
secondary
#ECDCB0
accent
#A703E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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