#4D52DE#4D52DE

#4D52DE is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.209 H 274.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4D52DE
RGBrgb(77, 82, 222)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(65.3%, 63.1%, 0%, 12.9%)
CIE-LABlab(42.59, 41.13, -72.06)
CIE-LCHlch(42.59, 82.98, 299.72°)
OKLaboklab(52.18% 0.0179 -0.2078)
OKLCHoklch(52.18% 0.209 274.9)
XYZxyz(19.2583, 12.8846, 70.5652)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52DE #DED94D
analogous
#4D9ADE #4D52DE #904DDE
triadic
#4D52DE #DE4D52 #52DE4D
tetradic
#4D52DE #DE4D9A #DED94D #4DDE90
square
#4D52DE #DE4D9A #DED94D #4DDE90
split-complementary
#4D52DE #DE904D #9ADE4D
monochromatic
#1C2095 #252BC9 #4D52DE #8184E8 #B4B6F1

Accessibility & contrast

On white

5.87
#4D52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4D52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52DE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52DE#FFFFFF#000000##FFFFFF
##4D52DE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d52de;
/* rgb */ color: rgb(77, 82, 222);
/* oklch */ color: oklch(52.2% 0.209 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f83e9',
    500: '#4d52de',
    950: '#000000',
  },
}
SCSS
$custom: #4d52de;
$custom-light: #8f83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52de",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 237.931,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.20859,
    "h": 274.9
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#4D52DE
secondary
#E0DEA7
accent
#E63CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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