#4D42DB#4D42DB

#4D42DB is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.223 H 277.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4D42DB
RGBrgb(77, 66, 219)
HSLhsl(244, 68%, 56%)
HSVhsv(244, 70%, 86%)
CMYKcmyk(64.8%, 69.9%, 0%, 14.1%)
CIE-LABlab(38.88, 49.48, -76.43)
CIE-LCHlch(38.88, 91.05, 302.92°)
OKLaboklab(49.42% 0.0296 -0.2206)
OKLCHoklch(49.42% 0.223 277.6)
XYZxyz(17.7908, 10.5872, 68.1101)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42DB #D0DB42
analogous
#4283DB #4D42DB #9942DB
triadic
#4D42DB #DB4D42 #42DB4D
tetradic
#4D42DB #DB4283 #D0DB42 #42DB99
square
#4D42DB #DB4283 #D0DB42 #42DB99
split-complementary
#4D42DB #DB9942 #83DB42
monochromatic
#221A89 #2F24BC #4D42DB #7D75E5 #AEA9EF

Accessibility & contrast

On white

6.74
#4D42DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4D42DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D42DB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42DB#FFFFFF#000000##FFFFFF
##4D42DB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#0055D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d42db;
/* rgb */ color: rgb(77, 66, 219);
/* oklch */ color: oklch(49.4% 0.223 277.6);
Tailwind
colors: {
  custom: {
    50: '#9078e7',
    500: '#4d42db',
    950: '#000000',
  },
}
SCSS
$custom: #4d42db;
$custom-light: #9078e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42db",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 244.314,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.22263,
    "h": 277.6
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#4D42DB
secondary
#D8DC9D
accent
#EB3DDE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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