#4E4ECF#4E4ECF

#4E4ECF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.194 H 276.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4ECF
RGBrgb(78, 78, 207)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(62.3%, 62.3%, 0%, 18.8%)
CIE-LABlab(40.53, 38.75, -66.83)
CIE-LCHlch(40.53, 77.25, 300.11°)
OKLaboklab(50.32% 0.0232 -0.1924)
OKLCHoklch(50.32% 0.194 276.9)
XYZxyz(17.1251, 11.5721, 60.3506)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ECF #CFCF4E
analogous
#4E8ECF #4E4ECF #8E4ECF
triadic
#4E4ECF #CF4E4E #4ECF4E
tetradic
#4E4ECF #CF4E8E #CFCF4E #4ECF8E
square
#4E4ECF #CF4E8E #CFCF4E #4ECF8E
split-complementary
#4E4ECF #CF8E4E #8ECF4E
monochromatic
#232380 #3030B0 #4E4ECF #7E7EDC #AEAEE9

Accessibility & contrast

On white

6.34
#4E4ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E4ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ECF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ECF#FFFFFF#000000##FFFFFF
##4E4ECF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e4ecf;
/* rgb */ color: rgb(78, 78, 207);
/* oklch */ color: oklch(50.3% 0.194 276.9);
Tailwind
colors: {
  custom: {
    50: '#8d80df',
    500: '#4e4ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ecf;
$custom-light: #8d80df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ecf",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.19384,
    "h": 276.9
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#4E4ECF
secondary
#D7D7A2
accent
#E147E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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