#4E7AF3#4E7AF3

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

Color values

HEX#4E7AF3
RGBrgb(78, 122, 243)
HSLhsl(224, 87%, 63%)
HSVhsv(224, 68%, 95%)
CMYKcmyk(67.9%, 49.8%, 0%, 4.7%)
CIE-LABlab(54.03, 23.84, -65.29)
CIE-LCHlch(54.03, 69.51, 290.05°)
OKLaboklab(61.23% -0.0132 -0.1874)
OKLCHoklch(61.23% 0.188 266)
XYZxyz(26.2734, 22.0072, 87.6398)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AF3 #F3C74E
analogous
#4ECCF3 #4E7AF3 #744EF3
triadic
#4E7AF3 #F34E7A #7AF34E
tetradic
#4E7AF3 #F34ECC #F3C74E #4EF374
square
#4E7AF3 #F34ECC #F3C74E #4EF374
split-complementary
#4E7AF3 #F3744E #CCF34E
monochromatic
#0D3BBA #154FEF #4E7AF3 #87A5F7 #C1D0FB

Accessibility & contrast

On white

3.89
#4E7AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4E7AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AF3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AF3#FFFFFF#000000##000000
##4E7AF31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7af3;
/* rgb */ color: rgb(78, 122, 243);
/* oklch */ color: oklch(61.2% 0.188 266.0);
Tailwind
colors: {
  custom: {
    50: '#919ff8',
    500: '#4e7af3',
    950: '#000000',
  },
}
SCSS
$custom: #4e7af3;
$custom-light: #919ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7af3",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 224,
    "s": 87.302,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.1879,
    "h": 266
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

primary
#4E7AF3
secondary
#ECDCB1
accent
#A802E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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