#4E7AE6#4E7AE6

#4E7AE6 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.171 H 265.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4E7AE6
RGBrgb(78, 122, 230)
HSLhsl(223, 75%, 60%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(66.1%, 47%, 0%, 9.8%)
CIE-LABlab(53.22, 19.32, -59.35)
CIE-LCHlch(53.22, 62.41, 288.03°)
OKLaboklab(60.35% -0.0148 -0.17)
OKLCHoklch(60.35% 0.171 265)
XYZxyz(24.3794, 21.2496, 77.6644)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AE6 #E6BA4E
analogous
#4EC6E6 #4E7AE6 #6E4EE6
triadic
#4E7AE6 #E64E7A #7AE64E
tetradic
#4E7AE6 #E64EC6 #E6BA4E #4EE66E
square
#4E7AE6 #E64EC6 #E6BA4E #4EE66E
split-complementary
#4E7AE6 #E66E4E #C6E64E
monochromatic
#173FA3 #1F54D8 #4E7AE6 #84A2EE #B9CBF5

Accessibility & contrast

On white

4.00
#4E7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4E7AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AE6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AE6#FFFFFF#000000##000000
##4E7AE61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286EA
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ae6;
/* rgb */ color: rgb(78, 122, 230);
/* oklch */ color: oklch(60.3% 0.171 265.0);
Tailwind
colors: {
  custom: {
    50: '#8f9fee',
    500: '#4e7ae6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ae6;
$custom-light: #8f9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ae6",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 222.632,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.1706,
    "h": 265
  },
  "luminance": 0.21252
}

Semantic roles & 50–950 ramp

primary
#4E7AE6
secondary
#E5D4AB
accent
#9D0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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