#4E74E8#4E74E8

#4E74E8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.180 H 267.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E74E8
RGBrgb(78, 116, 232)
HSLhsl(225, 77%, 61%)
HSVhsv(225, 66%, 91%)
CMYKcmyk(66.4%, 50%, 0%, 9%)
CIE-LABlab(51.76, 23.72, -62.82)
CIE-LCHlch(51.76, 67.15, 290.69°)
OKLaboklab(59.28% -0.0091 -0.1802)
OKLCHoklch(59.28% 0.18 267.1)
XYZxyz(23.9477, 19.9344, 78.9140)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74E8 #E8C24E
analogous
#4EC1E8 #4E74E8 #754EE8
triadic
#4E74E8 #E84E74 #74E84E
tetradic
#4E74E8 #E84EC1 #E8C24E #4EE875
square
#4E74E8 #E84EC1 #E8C24E #4EE875
split-complementary
#4E74E8 #E8754E #C1E84E
monochromatic
#1639A6 #1D4CDC #4E74E8 #849FEF #BAC9F6

Accessibility & contrast

On white

4.21
#4E74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74E8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74E8#FFFFFF#000000##000000
##4E74E81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e74e8;
/* rgb */ color: rgb(78, 116, 232);
/* oklch */ color: oklch(59.3% 0.180 267.1);
Tailwind
colors: {
  custom: {
    50: '#8f9bf0',
    500: '#4e74e8',
    950: '#000000',
  },
}
SCSS
$custom: #4e74e8;
$custom-light: #8f9bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74e8",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 225.195,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.18048,
    "h": 267.1
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#4E74E8
secondary
#E6D8AC
accent
#A70CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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