#4D42DD#4D42DD

#4D42DD is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.225 H 277.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4D42DD
RGBrgb(77, 66, 221)
HSLhsl(244, 70%, 56%)
HSVhsv(244, 70%, 87%)
CMYKcmyk(65.2%, 70.1%, 0%, 13.3%)
CIE-LABlab(39.06, 50.11, -77.28)
CIE-LCHlch(39.06, 92.10, 302.96°)
OKLaboklab(49.6% 0.0293 -0.2231)
OKLCHoklch(49.6% 0.225 277.5)
XYZxyz(18.0557, 10.6931, 69.5051)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42DD #D2DD42
analogous
#4285DD #4D42DD #9B42DD
triadic
#4D42DD #DD4D42 #42DD4D
tetradic
#4D42DD #DD4285 #D2DD42 #42DD9B
square
#4D42DD #DD4285 #D2DD42 #42DD9B
split-complementary
#4D42DD #DD9B42 #85DD42
monochromatic
#21198C #2E22BF #4D42DD #7E76E6 #AFAAF0

Accessibility & contrast

On white

6.69
#4D42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4D42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D42DD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42DD#FFFFFF#000000##FFFFFF
##4D42DD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0055DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d42dd;
/* rgb */ color: rgb(77, 66, 221);
/* oklch */ color: oklch(49.6% 0.225 277.5);
Tailwind
colors: {
  custom: {
    50: '#9078e9',
    500: '#4d42dd',
    950: '#000000',
  },
}
SCSS
$custom: #4d42dd;
$custom-light: #9078e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42dd",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 244.258,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.22503,
    "h": 277.5
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#4D42DD
secondary
#D9DD9D
accent
#EC3BE0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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