#4E74DB#4E74DB

#4E74DB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.163 H 266.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E74DB
RGBrgb(78, 116, 219)
HSLhsl(224, 66%, 58%)
HSVhsv(224, 64%, 86%)
CMYKcmyk(64.4%, 47%, 0%, 14.1%)
CIE-LABlab(50.95, 19.21, -56.81)
CIE-LCHlch(50.95, 59.98, 288.69°)
OKLaboklab(58.39% -0.0107 -0.1626)
OKLCHoklch(58.39% 0.163 266.2)
XYZxyz(22.1690, 19.2229, 69.5462)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74DB #DBB54E
analogous
#4EBADB #4E74DB #6E4EDB
triadic
#4E74DB #DB4E74 #74DB4E
tetradic
#4E74DB #DB4EBA #DBB54E #4EDB6E
square
#4E74DB #DB4EBA #DBB54E #4EDB6E
split-complementary
#4E74DB #DB6E4E #BADB4E
monochromatic
#1E3D91 #2852C4 #4E74DB #819CE5 #B4C4F0

Accessibility & contrast

On white

4.33
#4E74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4E74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74DB#FFFFFF#000000##000000
##4E74DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e74db;
/* rgb */ color: rgb(78, 116, 219);
/* oklch */ color: oklch(58.4% 0.163 266.2);
Tailwind
colors: {
  custom: {
    50: '#8d9be7',
    500: '#4e74db',
    950: '#000000',
  },
}
SCSS
$custom: #4e74db;
$custom-light: #8d9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74db",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 223.83,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.16294,
    "h": 266.2
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#4E74DB
secondary
#DECFA6
accent
#BB3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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