#4D4DFA#4D4DFA

#4D4DFA is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.9% C 0.248 H 274.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4D4DFA
RGBrgb(77, 77, 250)
HSLhsl(240, 95%, 64%)
HSVhsv(240, 69%, 98%)
CMYKcmyk(69.2%, 69.2%, 0%, 2%)
CIE-LABlab(43.92, 53.12, -85.67)
CIE-LCHlch(43.92, 100.81, 301.80°)
OKLaboklab(53.89% 0.0182 -0.2477)
OKLCHoklch(53.89% 0.248 274.2)
XYZxyz(22.9640, 13.7855, 91.8746)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DFA #FAFA4D
analogous
#4DA4FA #4D4DFA #A44DFA
triadic
#4D4DFA #FA4D4D #4DFA4D
tetradic
#4D4DFA #FA4DA4 #FAFA4D #4DFAA4
square
#4D4DFA #FA4DA4 #FAFA4D #4DFAA4
split-complementary
#4D4DFA #FAA44D #A4FA4D
monochromatic
#0606C7 #1111F8 #4D4DFA #8989FC #C4C4FD

Accessibility & contrast

On white

5.59
#4D4DFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4D4DFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DFA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DFA#FFFFFF#000000##FFFFFF
##4D4DFA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.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: #4d4dfa;
/* rgb */ color: rgb(77, 77, 250);
/* oklch */ color: oklch(53.9% 0.248 274.2);
Tailwind
colors: {
  custom: {
    50: '#9580fd',
    500: '#4d4dfa',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dfa;
$custom-light: #9580fd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dfa",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.24834,
    "h": 274.2
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#4D4DFA
secondary
#F0F0B3
accent
#E600E5
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4D4DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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