#4E4FBE#4E4FBE

#4E4FBE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.170 H 277.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4E4FBE
RGBrgb(78, 79, 190)
HSLhsl(239, 46%, 53%)
HSVhsv(239, 59%, 75%)
CMYKcmyk(58.9%, 58.4%, 0%, 25.5%)
CIE-LABlab(39.46, 32.52, -58.69)
CIE-LCHlch(39.46, 67.10, 298.99°)
OKLaboklab(49.12% 0.0229 -0.1685)
OKLCHoklch(49.12% 0.17 277.7)
XYZxyz(15.2292, 10.9283, 50.0121)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FBE #BEBD4E
analogous
#4E87BE #4E4FBE #854EBE
triadic
#4E4FBE #BE4E4F #4FBE4E
tetradic
#4E4FBE #BE4E87 #BEBD4E #4EBE85
square
#4E4FBE #BE4E87 #BEBD4E #4EBE85
split-complementary
#4E4FBE #BE854E #87BE4E
monochromatic
#27286A #383897 #4E4FBE #7B7CCE #A8A8DF

Accessibility & contrast

On white

6.59
#4E4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FBE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FBE#FFFFFF#000000##FFFFFF
##4E4FBE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e4fbe;
/* rgb */ color: rgb(78, 79, 190);
/* oklch */ color: oklch(49.1% 0.170 277.7);
Tailwind
colors: {
  custom: {
    50: '#8a80d2',
    500: '#4e4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fbe;
$custom-light: #8a80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fbe",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 239.464,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.17008,
    "h": 277.7
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#4E4FBE
secondary
#CCCC9C
accent
#D552D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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