#4D42D8#4D42D8

#4D42D8 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.219 H 277.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4D42D8
RGBrgb(77, 66, 216)
HSLhsl(244, 66%, 55%)
HSVhsv(244, 69%, 85%)
CMYKcmyk(64.4%, 69.4%, 0%, 15.3%)
CIE-LABlab(38.60, 48.54, -75.16)
CIE-LCHlch(38.60, 89.47, 302.86°)
OKLaboklab(49.14% 0.0301 -0.2169)
OKLCHoklch(49.14% 0.219 277.9)
XYZxyz(17.3994, 10.4306, 66.0488)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42D8 #CDD842
analogous
#4282D8 #4D42D8 #9842D8
triadic
#4D42D8 #D84D42 #42D84D
tetradic
#4D42D8 #D84282 #CDD842 #42D898
square
#4D42D8 #D84282 #CDD842 #42D898
split-complementary
#4D42D8 #D89842 #82D842
monochromatic
#231B84 #3026B7 #4D42D8 #7D75E2 #ADA7ED

Accessibility & contrast

On white

6.80
#4D42D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4D42D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D42D8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42D8#FFFFFF#000000##FFFFFF
##4D42D81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#0055D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d42d8;
/* rgb */ color: rgb(77, 66, 216);
/* oklch */ color: oklch(49.1% 0.219 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f78e5',
    500: '#4d42d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d42d8;
$custom-light: #8f78e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42d8",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 244.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.219,
    "h": 277.9
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

primary
#4D42D8
secondary
#D6DA9C
accent
#E93FDC
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D42D8

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

Preview Lab → · Contrast checker → · Palette generator →

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