#4E7CEC#4E7CEC

#4E7CEC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.2% C 0.176 H 264.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E7CEC
RGBrgb(78, 124, 236)
HSLhsl(223, 81%, 62%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(66.9%, 47.5%, 0%, 7.5%)
CIE-LABlab(54.12, 20.17, -61.26)
CIE-LCHlch(54.12, 64.49, 288.23°)
OKLaboklab(61.15% -0.0158 -0.1755)
OKLCHoklch(61.15% 0.176 264.9)
XYZxyz(25.4846, 22.0886, 82.2611)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CEC #ECBE4E
analogous
#4ECBEC #4E7CEC #6F4EEC
triadic
#4E7CEC #EC4E7C #7CEC4E
tetradic
#4E7CEC #EC4ECB #ECBE4E #4EEC6F
square
#4E7CEC #EC4ECB #ECBE4E #4EEC6F
split-complementary
#4E7CEC #EC6F4E #CBEC4E
monochromatic
#1340AD #1954E4 #4E7CEC #85A5F2 #BDCEF8

Accessibility & contrast

On white

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

On black

5.42
#4E7CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CEC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CEC#FFFFFF#000000##000000
##4E7CEC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7cec;
/* rgb */ color: rgb(78, 124, 236);
/* oklch */ color: oklch(61.2% 0.176 264.9);
Tailwind
colors: {
  custom: {
    50: '#90a1f3',
    500: '#4e7cec',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cec;
$custom-light: #90a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cec",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 222.532,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.17625,
    "h": 264.9
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#4E7CEC
secondary
#E8D7AE
accent
#9F09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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