#4E7FEC#4E7FEC

#4E7FEC is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.8% C 0.173 H 263.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E7FEC
RGBrgb(78, 127, 236)
HSLhsl(221, 81%, 62%)
HSVhsv(221, 67%, 93%)
CMYKcmyk(66.9%, 46.2%, 0%, 7.5%)
CIE-LABlab(54.92, 18.33, -59.97)
CIE-LCHlch(54.92, 62.71, 286.99°)
OKLaboklab(61.76% -0.0185 -0.1717)
OKLCHoklch(61.76% 0.173 263.9)
XYZxyz(25.8663, 22.8520, 82.3883)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FEC #ECBB4E
analogous
#4ECEEC #4E7FEC #6C4EEC
triadic
#4E7FEC #EC4E7F #7FEC4E
tetradic
#4E7FEC #EC4ECE #ECBB4E #4EEC6C
square
#4E7FEC #EC4ECE #ECBB4E #4EEC6C
split-complementary
#4E7FEC #EC6C4E #CEEC4E
monochromatic
#1342AD #1958E4 #4E7FEC #85A7F2 #BDCFF8

Accessibility & contrast

On white

3.77
#4E7FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4E7FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FEC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FEC#FFFFFF#000000##000000
##4E7FEC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e7fec;
/* rgb */ color: rgb(78, 127, 236);
/* oklch */ color: oklch(61.8% 0.173 263.9);
Tailwind
colors: {
  custom: {
    50: '#90a3f3',
    500: '#4e7fec',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fec;
$custom-light: #90a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fec",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 221.392,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.17271,
    "h": 263.9
  },
  "luminance": 0.22855
}

Semantic roles & 50–950 ramp

primary
#4E7FEC
secondary
#E8D6AE
accent
#9B09DD
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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