#4E7FCA#4E7FCA

#4E7FCA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.127 H 258.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E7FCA
RGBrgb(78, 127, 202)
HSLhsl(216, 54%, 55%)
HSVhsv(216, 61%, 79%)
CMYKcmyk(61.4%, 37.1%, 0%, 20.8%)
CIE-LABlab(53.02, 6.64, -43.88)
CIE-LCHlch(53.02, 44.38, 278.61°)
OKLaboklab(59.68% -0.025 -0.1245)
OKLCHoklch(59.68% 0.127 258.7)
XYZxyz(21.3882, 21.0608, 58.8037)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FCA #CA994E
analogous
#4EBDCA #4E7FCA #5B4ECA
triadic
#4E7FCA #CA4E7F #7FCA4E
tetradic
#4E7FCA #CA4EBD #CA994E #4ECA5B
square
#4E7FCA #CA4EBD #CA994E #4ECA5B
split-complementary
#4E7FCA #CA5B4E #BDCA4E
monochromatic
#244679 #3261A8 #4E7FCA #7DA1D8 #ACC3E6

Accessibility & contrast

On white

4.03
#4E7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FCA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FCA#FFFFFF#000000##000000
##4E7FCA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fca;
/* rgb */ color: rgb(78, 127, 202);
/* oklch */ color: oklch(59.7% 0.127 258.7);
Tailwind
colors: {
  custom: {
    50: '#8aa3da',
    500: '#4e7fca',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fca;
$custom-light: #8aa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fca",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 216.29,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.12697,
    "h": 258.7
  },
  "luminance": 0.21063
}

Semantic roles & 50–950 ramp

primary
#4E7FCA
secondary
#D4BFA0
accent
#A34BDD
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4E7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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