#4E74ED#4E74ED

#4E74ED is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.187 H 267.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E74ED
RGBrgb(78, 116, 237)
HSLhsl(226, 82%, 62%)
HSVhsv(226, 67%, 93%)
CMYKcmyk(67.1%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.09, 25.45, -65.09)
CIE-LCHlch(52.09, 69.89, 291.36°)
OKLaboklab(59.62% -0.0086 -0.1869)
OKLCHoklch(59.62% 0.187 267.4)
XYZxyz(24.6681, 20.2225, 82.7077)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74ED #EDC74E
analogous
#4EC4ED #4E74ED #784EED
triadic
#4E74ED #ED4E74 #74ED4E
tetradic
#4E74ED #ED4EC4 #EDC74E #4EED78
square
#4E74ED #ED4EC4 #EDC74E #4EED78
split-complementary
#4E74ED #ED784E #C4ED4E
monochromatic
#1237AF #1749E6 #4E74ED #86A0F3 #BDCBF8

Accessibility & contrast

On white

4.16
#4E74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74ED#FFFFFF#000000##000000
##4E74ED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F1
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e74ed;
/* rgb */ color: rgb(78, 116, 237);
/* oklch */ color: oklch(59.6% 0.187 267.4);
Tailwind
colors: {
  custom: {
    50: '#909bf4',
    500: '#4e74ed',
    950: '#000000',
  },
}
SCSS
$custom: #4e74ed;
$custom-light: #909bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74ed",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 225.66,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.18714,
    "h": 267.4
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#4E74ED
secondary
#E9DBAE
accent
#AB08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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