#4E74E6#4E74E6

#4E74E6 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.178 H 267.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E74E6
RGBrgb(78, 116, 230)
HSLhsl(225, 75%, 60%)
HSVhsv(225, 66%, 90%)
CMYKcmyk(66.1%, 49.6%, 0%, 9.8%)
CIE-LABlab(51.63, 23.02, -61.90)
CIE-LCHlch(51.63, 66.05, 290.40°)
OKLaboklab(59.14% -0.0093 -0.1776)
OKLCHoklch(59.14% 0.178 267)
XYZxyz(23.6653, 19.8214, 77.4263)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74E6 #E6C04E
analogous
#4EC0E6 #4E74E6 #744EE6
triadic
#4E74E6 #E64E74 #74E64E
tetradic
#4E74E6 #E64EC0 #E6C04E #4EE674
square
#4E74E6 #E64EC0 #E6C04E #4EE674
split-complementary
#4E74E6 #E6744E #C0E64E
monochromatic
#173AA3 #1F4DD8 #4E74E6 #849EEE #B9C8F5

Accessibility & contrast

On white

4.23
#4E74E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4E74E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74E6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74E6#FFFFFF#000000##000000
##4E74E61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382EA
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e74e6;
/* rgb */ color: rgb(78, 116, 230);
/* oklch */ color: oklch(59.1% 0.178 267.0);
Tailwind
colors: {
  custom: {
    50: '#8f9bef',
    500: '#4e74e6',
    950: '#000000',
  },
}
SCSS
$custom: #4e74e6;
$custom-light: #8f9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74e6",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 225,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.17781,
    "h": 267
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#4E74E6
secondary
#E5D6AB
accent
#A50ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E74E6

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

Preview Lab → · Contrast checker → · Palette generator →

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