#4D4FFA#4D4FFA

#4D4FFA is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.246 H 274.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D4FFA
RGBrgb(77, 79, 250)
HSLhsl(239, 95%, 64%)
HSVhsv(239, 69%, 98%)
CMYKcmyk(69.2%, 68.4%, 0%, 2%)
CIE-LABlab(44.33, 52.00, -85.00)
CIE-LCHlch(44.33, 99.65, 301.46°)
OKLaboklab(54.18% 0.0171 -0.2457)
OKLCHoklch(54.18% 0.246 274)
XYZxyz(23.1061, 14.0696, 91.9220)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FFA #FAF84D
analogous
#4DA6FA #4D4FFA #A14DFA
triadic
#4D4FFA #FA4D4F #4FFA4D
tetradic
#4D4FFA #FA4DA6 #FAF84D #4DFAA1
square
#4D4FFA #FA4DA6 #FAF84D #4DFAA1
split-complementary
#4D4FFA #FAA14D #A6FA4D
monochromatic
#0608C7 #1114F8 #4D4FFA #898AFC #C4C5FD

Accessibility & contrast

On white

5.51
#4D4FFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4D4FFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FFA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FFA#FFFFFF#000000##FFFFFF
##4D4FFA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0061F7
Tritanopia (blue-blind)
#007E9F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d4ffa;
/* rgb */ color: rgb(77, 79, 250);
/* oklch */ color: oklch(54.2% 0.246 274.0);
Tailwind
colors: {
  custom: {
    50: '#9581fd',
    500: '#4d4ffa',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ffa;
$custom-light: #9581fd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ffa",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 250
  },
  "hsl": {
    "h": 239.306,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.2463,
    "h": 274
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#4D4FFA
secondary
#F0EFB3
accent
#E300E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4D4FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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