#4E7BEC#4E7BEC

#4E7BEC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.177 H 265.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4E7BEC
RGBrgb(78, 123, 236)
HSLhsl(223, 81%, 62%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(66.9%, 47.9%, 0%, 7.5%)
CIE-LABlab(53.86, 20.79, -61.68)
CIE-LCHlch(53.86, 65.09, 288.62°)
OKLaboklab(60.95% -0.0149 -0.1768)
OKLCHoklch(60.95% 0.177 265.2)
XYZxyz(25.3599, 21.8393, 82.2195)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BEC #ECBF4E
analogous
#4ECAEC #4E7BEC #704EEC
triadic
#4E7BEC #EC4E7B #7BEC4E
tetradic
#4E7BEC #EC4ECA #ECBF4E #4EEC70
square
#4E7BEC #EC4ECA #ECBF4E #4EEC70
split-complementary
#4E7BEC #EC704E #CAEC4E
monochromatic
#133FAD #1953E4 #4E7BEC #85A4F2 #BDCDF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7BEC#FFFFFF#000000##000000
##4E7BEC1.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)
#3E88F0
Deuteranopia (green-blind)
#147AEA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7bec;
/* rgb */ color: rgb(78, 123, 236);
/* oklch */ color: oklch(61.0% 0.177 265.2);
Tailwind
colors: {
  custom: {
    50: '#90a0f3',
    500: '#4e7bec',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bec;
$custom-light: #90a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bec",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 222.911,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.17743,
    "h": 265.2
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#4E7BEC
secondary
#E8D8AE
accent
#A009DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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