#4E7FDE#4E7FDE

#4E7FDE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.154 H 262.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E7FDE
RGBrgb(78, 127, 222)
HSLhsl(220, 69%, 59%)
HSVhsv(220, 65%, 87%)
CMYKcmyk(64.9%, 42.8%, 0%, 12.9%)
CIE-LABlab(54.10, 13.48, -53.45)
CIE-LCHlch(54.10, 55.13, 284.15°)
OKLaboklab(60.87% -0.0208 -0.1525)
OKLCHoklch(60.87% 0.154 262.2)
XYZxyz(23.9114, 22.0701, 72.0929)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FDE #DEAD4E
analogous
#4EC7DE #4E7FDE #654EDE
triadic
#4E7FDE #DE4E7F #7FDE4E
tetradic
#4E7FDE #DE4EC7 #DEAD4E #4EDE65
square
#4E7FDE #DE4EC7 #DEAD4E #4EDE65
split-complementary
#4E7FDE #DE654E #C7DE4E
monochromatic
#1C4596 #265DC9 #4E7FDE #82A4E8 #B5CAF1

Accessibility & contrast

On white

3.88
#4E7FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4E7FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FDE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FDE#FFFFFF#000000##000000
##4E7FDE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E2
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7fde;
/* rgb */ color: rgb(78, 127, 222);
/* oklch */ color: oklch(60.9% 0.154 262.2);
Tailwind
colors: {
  custom: {
    50: '#8da3e9',
    500: '#4e7fde',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fde;
$custom-light: #8da3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fde",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 219.583,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.15396,
    "h": 262.2
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#4E7FDE
secondary
#E0CDA8
accent
#B03CEB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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