#4D4CFA#4D4CFA

#4D4CFA is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.7% C 0.249 H 274.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4D4CFA
RGBrgb(77, 76, 250)
HSLhsl(240, 95%, 64%)
HSVhsv(240, 70%, 98%)
CMYKcmyk(69.2%, 69.6%, 0%, 2%)
CIE-LABlab(43.72, 53.68, -86.01)
CIE-LCHlch(43.72, 101.38, 301.97°)
OKLaboklab(53.74% 0.0188 -0.2486)
OKLCHoklch(53.74% 0.249 274.3)
XYZxyz(22.8946, 13.6466, 91.8514)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CFA #F9FA4C
analogous
#4CA2FA #4D4CFA #A44CFA
triadic
#4D4CFA #FA4D4C #4CFA4D
tetradic
#4D4CFA #FA4CA2 #F9FA4C #4CFAA4
square
#4D4CFA #FA4CA2 #F9FA4C #4CFAA4
split-complementary
#4D4CFA #FAA44C #A2FA4C
monochromatic
#0706C6 #1210F8 #4D4CFA #8888FC #C3C3FD

Accessibility & contrast

On white

5.63
#4D4CFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D4CFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CFA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CFA#FFFFFF#000000##FFFFFF
##4D4CFA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#005FF7
Tritanopia (blue-blind)
#007C9E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d4cfa;
/* rgb */ color: rgb(77, 76, 250);
/* oklch */ color: oklch(53.7% 0.249 274.3);
Tailwind
colors: {
  custom: {
    50: '#957ffd',
    500: '#4d4cfa',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cfa;
$custom-light: #957ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cfa",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 250
  },
  "hsl": {
    "h": 240.345,
    "s": 94.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.24935,
    "h": 274.3
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#4D4CFA
secondary
#EFEFB2
accent
#E600E4
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4D4CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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