#4D42D0#4D42D0

#4D42D0 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.209 H 278.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4D42D0
RGBrgb(77, 66, 208)
HSLhsl(245, 60%, 54%)
HSVhsv(245, 68%, 82%)
CMYKcmyk(63%, 68.3%, 0%, 18.4%)
CIE-LABlab(37.89, 46.02, -71.72)
CIE-LCHlch(37.89, 85.21, 302.68°)
OKLaboklab(48.41% 0.0313 -0.2069)
OKLCHoklch(48.41% 0.209 278.6)
XYZxyz(16.3903, 10.0270, 60.7340)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42D0 #C5D042
analogous
#427ED0 #4D42D0 #9442D0
triadic
#4D42D0 #D04D42 #42D04D
tetradic
#4D42D0 #D0427E #C5D042 #42D094
square
#4D42D0 #D0427E #C5D042 #42D094
split-complementary
#4D42D0 #D09442 #7ED042
monochromatic
#251E79 #342AAA #4D42D0 #7B73DC #A9A4E8

Accessibility & contrast

On white

6.99
#4D42D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4D42D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D42D0
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42D0#FFFFFF#000000##FFFFFF
##4D42D01.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d42d0;
/* rgb */ color: rgb(77, 66, 208);
/* oklch */ color: oklch(48.4% 0.209 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e78e0',
    500: '#4d42d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d42d0;
$custom-light: #8e78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42d0",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 244.648,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.20922,
    "h": 278.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#4D42D0
secondary
#D1D599
accent
#E344D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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