#4E7CDF#4E7CDF

#4E7CDF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.159 H 263.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E7CDF
RGBrgb(78, 124, 223)
HSLhsl(221, 69%, 59%)
HSVhsv(221, 65%, 87%)
CMYKcmyk(65%, 44.4%, 0%, 12.5%)
CIE-LABlab(53.34, 15.66, -55.23)
CIE-LCHlch(53.34, 57.41, 285.83°)
OKLaboklab(60.3% -0.0177 -0.1578)
OKLCHoklch(60.3% 0.159 263.6)
XYZxyz(23.6642, 21.3605, 72.6736)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CDF #DFB14E
analogous
#4EC4DF #4E7CDF #694EDF
triadic
#4E7CDF #DF4E7C #7CDF4E
tetradic
#4E7CDF #DF4EC4 #DFB14E #4EDF69
square
#4E7CDF #DF4EC4 #DFB14E #4EDF69
split-complementary
#4E7CDF #DF694E #C4DF4E
monochromatic
#1B4397 #2559CB #4E7CDF #82A2E8 #B6C9F2

Accessibility & contrast

On white

3.98
#4E7CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E7CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CDF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CDF#FFFFFF#000000##000000
##4E7CDF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C87E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7cdf;
/* rgb */ color: rgb(78, 124, 223);
/* oklch */ color: oklch(60.3% 0.159 263.6);
Tailwind
colors: {
  custom: {
    50: '#8ea1e9',
    500: '#4e7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cdf;
$custom-light: #8ea1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cdf",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 220.966,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.15881,
    "h": 263.6
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#4E7CDF
secondary
#E1CFA8
accent
#B43CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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