#4D42D9#4D42D9

#4D42D9 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.220 H 277.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4D42D9
RGBrgb(77, 66, 217)
HSLhsl(244, 67%, 55%)
HSVhsv(244, 70%, 85%)
CMYKcmyk(64.5%, 69.6%, 0%, 14.9%)
CIE-LABlab(38.69, 48.85, -75.58)
CIE-LCHlch(38.69, 90.00, 302.88°)
OKLaboklab(49.23% 0.0299 -0.2182)
OKLCHoklch(49.23% 0.22 277.8)
XYZxyz(17.5291, 10.4825, 66.7318)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42D9 #CED942
analogous
#4282D9 #4D42D9 #9842D9
triadic
#4D42D9 #D94D42 #42D94D
tetradic
#4D42D9 #D94282 #CED942 #42D998
square
#4D42D9 #D94282 #CED942 #42D998
split-complementary
#4D42D9 #D99842 #82D942
monochromatic
#231B86 #3025B9 #4D42D9 #7D75E3 #ADA8ED

Accessibility & contrast

On white

6.78
#4D42D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D42D9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42D9#FFFFFF#000000##FFFFFF
##4D42D91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0055D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d42d9;
/* rgb */ color: rgb(77, 66, 217);
/* oklch */ color: oklch(49.2% 0.220 277.8);
Tailwind
colors: {
  custom: {
    50: '#8f78e6',
    500: '#4d42d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d42d9;
$custom-light: #8f78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42d9",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 244.371,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.22021,
    "h": 277.8
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#4D42D9
secondary
#D6DB9C
accent
#E93EDD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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