#4D4AC5#4D4AC5

#4D4AC5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.7% C 0.186 H 278.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4D4AC5
RGBrgb(77, 74, 197)
HSLhsl(241, 51%, 53%)
HSVhsv(241, 62%, 77%)
CMYKcmyk(60.9%, 62.4%, 0%, 22.7%)
CIE-LABlab(38.73, 37.74, -63.96)
CIE-LCHlch(38.73, 74.26, 300.54°)
OKLaboklab(48.74% 0.026 -0.1841)
OKLCHoklch(48.74% 0.186 278)
XYZxyz(15.5842, 10.5054, 54.0190)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AC5 #C2C54A
analogous
#4A85C5 #4D4AC5 #8A4AC5
triadic
#4D4AC5 #C54D4A #4AC54D
tetradic
#4D4AC5 #C54A85 #C2C54A #4AC58A
square
#4D4AC5 #C54A85 #C2C54A #4AC58A
split-complementary
#4D4AC5 #C58A4A #85C54A
monochromatic
#262471 #36339F #4D4AC5 #7B78D4 #A8A7E3

Accessibility & contrast

On white

6.77
#4D4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4D4AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4AC5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AC5#FFFFFF#000000##FFFFFF
##4D4AC51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d4ac5;
/* rgb */ color: rgb(77, 74, 197);
/* oklch */ color: oklch(48.7% 0.186 278.0);
Tailwind
colors: {
  custom: {
    50: '#8b7dd8',
    500: '#4d4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ac5;
$custom-light: #8b7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ac5",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 241.463,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.18591,
    "h": 278
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#4D4AC5
secondary
#CFD09B
accent
#DB4DD7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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