#4D4EFA#4D4EFA

#4D4EFA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.0% C 0.247 H 274.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4D4EFA
RGBrgb(77, 78, 250)
HSLhsl(240, 95%, 64%)
HSVhsv(240, 69%, 98%)
CMYKcmyk(69.2%, 68.8%, 0%, 2%)
CIE-LABlab(44.13, 52.56, -85.34)
CIE-LCHlch(44.13, 100.23, 301.63°)
OKLaboklab(54.04% 0.0177 -0.2467)
OKLCHoklch(54.04% 0.247 274.1)
XYZxyz(23.0345, 13.9265, 91.8981)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EFA #FAF94D
analogous
#4DA5FA #4D4EFA #A34DFA
triadic
#4D4EFA #FA4D4E #4EFA4D
tetradic
#4D4EFA #FA4DA5 #FAF94D #4DFAA3
square
#4D4EFA #FA4DA5 #FAF94D #4DFAA3
split-complementary
#4D4EFA #FAA34D #A5FA4D
monochromatic
#0607C7 #1113F8 #4D4EFA #8989FC #C4C4FD

Accessibility & contrast

On white

5.55
#4D4EFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4D4EFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EFA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EFA#FFFFFF#000000##FFFFFF
##4D4EFA1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0060F7
Tritanopia (blue-blind)
#007D9E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d4efa;
/* rgb */ color: rgb(77, 78, 250);
/* oklch */ color: oklch(54.0% 0.247 274.1);
Tailwind
colors: {
  custom: {
    50: '#9581fd',
    500: '#4d4efa',
    950: '#000000',
  },
}
SCSS
$custom: #4d4efa;
$custom-light: #9581fd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4efa",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 250
  },
  "hsl": {
    "h": 239.653,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.24733,
    "h": 274.1
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#4D4EFA
secondary
#F0EFB3
accent
#E400E6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4D4EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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