#4E4FCA#4E4FCA

#4E4FCA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.186 H 277.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4E4FCA
RGBrgb(78, 79, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 61%, 79%)
CMYKcmyk(61.4%, 60.9%, 0%, 20.8%)
CIE-LABlab(40.37, 36.49, -64.20)
CIE-LCHlch(40.37, 73.84, 299.62°)
OKLaboklab(50.08% 0.0226 -0.1847)
OKLCHoklch(50.08% 0.186 277)
XYZxyz(16.5951, 11.4746, 57.2060)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FCA #CAC94E
analogous
#4E8DCA #4E4FCA #8B4ECA
triadic
#4E4FCA #CA4E4F #4FCA4E
tetradic
#4E4FCA #CA4E8D #CAC94E #4ECA8B
square
#4E4FCA #CA4E8D #CAC94E #4ECA8B
split-complementary
#4E4FCA #CA8B4E #8DCA4E
monochromatic
#242579 #3233A8 #4E4FCA #7D7ED8 #ACADE6

Accessibility & contrast

On white

6.37
#4E4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FCA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FCA#FFFFFF#000000##FFFFFF
##4E4FCA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e4fca;
/* rgb */ color: rgb(78, 79, 202);
/* oklch */ color: oklch(50.1% 0.186 277.0);
Tailwind
colors: {
  custom: {
    50: '#8c80db',
    500: '#4e4fca',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fca;
$custom-light: #8c80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fca",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 239.516,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.18609,
    "h": 277
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#4E4FCA
secondary
#D4D4A0
accent
#DC4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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