#4D4AC2#4D4AC2

#4D4AC2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.182 H 278.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D4AC2
RGBrgb(77, 74, 194)
HSLhsl(242, 50%, 53%)
HSVhsv(242, 62%, 76%)
CMYKcmyk(60.3%, 61.9%, 0%, 23.9%)
CIE-LABlab(38.50, 36.76, -62.60)
CIE-LCHlch(38.50, 72.59, 300.42°)
OKLaboklab(48.49% 0.0262 -0.1801)
OKLCHoklch(48.49% 0.182 278.3)
XYZxyz(15.2438, 10.3692, 52.2266)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4AC2 #BFC24A
analogous
#4A83C2 #4D4AC2 #894AC2
triadic
#4D4AC2 #C24D4A #4AC24D
tetradic
#4D4AC2 #C24A83 #BFC24A #4AC289
square
#4D4AC2 #C24A83 #BFC24A #4AC289
split-complementary
#4D4AC2 #C2894A #83C24A
monochromatic
#27256D #37349B #4D4AC2 #7A78D1 #A7A6E1

Accessibility & contrast

On white

6.83
#4D4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4AC2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4AC2#FFFFFF#000000##FFFFFF
##4D4AC21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d4ac2;
/* rgb */ color: rgb(77, 74, 194);
/* oklch */ color: oklch(48.5% 0.182 278.3);
Tailwind
colors: {
  custom: {
    50: '#8b7dd5',
    500: '#4d4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ac2;
$custom-light: #8b7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ac2",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 241.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.18197,
    "h": 278.3
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#4D4AC2
secondary
#CDCE9A
accent
#D94FD6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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