#4E7FDA#4E7FDA

#4E7FDA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.149 H 261.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4E7FDA
RGBrgb(78, 127, 218)
HSLhsl(219, 65%, 58%)
HSVhsv(219, 64%, 85%)
CMYKcmyk(64.2%, 41.7%, 0%, 14.5%)
CIE-LABlab(53.88, 12.10, -51.56)
CIE-LCHlch(53.88, 52.96, 283.21°)
OKLaboklab(60.62% -0.0215 -0.147)
OKLCHoklch(60.62% 0.149 261.7)
XYZxyz(23.3817, 21.8582, 69.3029)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FDA #DAA94E
analogous
#4EC5DA #4E7FDA #634EDA
triadic
#4E7FDA #DA4E7F #7FDA4E
tetradic
#4E7FDA #DA4EC5 #DAA94E #4EDA63
square
#4E7FDA #DA4EC5 #DAA94E #4EDA63
split-complementary
#4E7FDA #DA634E #C5DA4E
monochromatic
#1E4690 #295EC2 #4E7FDA #81A4E5 #B3C8EF

Accessibility & contrast

On white

3.91
#4E7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4E7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FDA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FDA#FFFFFF#000000##000000
##4E7FDA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7fda;
/* rgb */ color: rgb(78, 127, 218);
/* oklch */ color: oklch(60.6% 0.149 261.7);
Tailwind
colors: {
  custom: {
    50: '#8da3e6',
    500: '#4e7fda',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fda;
$custom-light: #8da3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fda",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 219,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.14857,
    "h": 261.7
  },
  "luminance": 0.2186
}

Semantic roles & 50–950 ramp

primary
#4E7FDA
secondary
#DECAA6
accent
#AD3FE8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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