#4E7CDD#4E7CDD

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

Color values

HEX#4E7CDD
RGBrgb(78, 124, 221)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 65%, 87%)
CMYKcmyk(64.7%, 43.9%, 0%, 13.3%)
CIE-LABlab(53.23, 14.97, -54.29)
CIE-LCHlch(53.23, 56.32, 285.42°)
OKLaboklab(60.18% -0.018 -0.1551)
OKLCHoklch(60.18% 0.156 263.4)
XYZxyz(23.3961, 21.2532, 71.2619)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CDD #DDAF4E
analogous
#4EC4DD #4E7CDD #674EDD
triadic
#4E7CDD #DD4E7C #7CDD4E
tetradic
#4E7CDD #DD4EC4 #DDAF4E #4EDD67
square
#4E7CDD #DD4EC4 #DDAF4E #4EDD67
split-complementary
#4E7CDD #DD674E #C4DD4E
monochromatic
#1C4394 #265AC7 #4E7CDD #81A2E7 #B5C8F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7CDD#FFFFFF#000000##000000
##4E7CDD1.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)
#4E86E1
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7cdd;
/* rgb */ color: rgb(78, 124, 221);
/* oklch */ color: oklch(60.2% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#8da1e8',
    500: '#4e7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cdd;
$custom-light: #8da1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cdd",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 220.699,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.15611,
    "h": 263.4
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#4E7CDD
secondary
#E0CDA7
accent
#B33DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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