#4D42DA#4D42DA

#4D42DA is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.221 H 277.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4D42DA
RGBrgb(77, 66, 218)
HSLhsl(244, 67%, 56%)
HSVhsv(244, 70%, 85%)
CMYKcmyk(64.7%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.79, 49.17, -76.01)
CIE-LCHlch(38.79, 90.52, 302.90°)
OKLaboklab(49.32% 0.0298 -0.2194)
OKLCHoklch(49.32% 0.221 277.7)
XYZxyz(17.6596, 10.5347, 67.4188)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42DA #CFDA42
analogous
#4283DA #4D42DA #9942DA
triadic
#4D42DA #DA4D42 #42DA4D
tetradic
#4D42DA #DA4283 #CFDA42 #42DA99
square
#4D42DA #DA4283 #CFDA42 #42DA99
split-complementary
#4D42DA #DA9942 #83DA42
monochromatic
#221A87 #2F24BA #4D42DA #7D75E4 #ADA8EE

Accessibility & contrast

On white

6.76
#4D42DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D42DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D42DA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42DA#FFFFFF#000000##FFFFFF
##4D42DA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d42da;
/* rgb */ color: rgb(77, 66, 218);
/* oklch */ color: oklch(49.3% 0.221 277.7);
Tailwind
colors: {
  custom: {
    50: '#9078e7',
    500: '#4d42da',
    950: '#000000',
  },
}
SCSS
$custom: #4d42da;
$custom-light: #9078e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42da",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 244.342,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49324,
    "c": 0.22142,
    "h": 277.7
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#4D42DA
secondary
#D7DB9C
accent
#EA3EDE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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