#4D51DE#4D51DE

#4D51DE is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.210 H 275.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4D51DE
RGBrgb(77, 81, 222)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(65.3%, 63.5%, 0%, 12.9%)
CIE-LABlab(42.36, 41.74, -72.43)
CIE-LCHlch(42.36, 83.60, 299.95°)
OKLaboklab(52.02% 0.0186 -0.2089)
OKLCHoklch(52.02% 0.21 275.1)
XYZxyz(19.1835, 12.7349, 70.5402)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D51DE #DEDA4D
analogous
#4D99DE #4D51DE #914DDE
triadic
#4D51DE #DE4D51 #51DE4D
tetradic
#4D51DE #DE4D99 #DEDA4D #4DDE91
square
#4D51DE #DE4D99 #DEDA4D #4DDE91
split-complementary
#4D51DE #DE914D #99DE4D
monochromatic
#1C1F95 #252AC9 #4D51DE #8183E8 #B4B6F1

Accessibility & contrast

On white

5.92
#4D51DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4D51DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D51DE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D51DE#FFFFFF#000000##FFFFFF
##4D51DE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d51de;
/* rgb */ color: rgb(77, 81, 222);
/* oklch */ color: oklch(52.0% 0.210 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f82e9',
    500: '#4d51de',
    950: '#000000',
  },
}
SCSS
$custom: #4d51de;
$custom-light: #8f82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d51de",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 238.345,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.20975,
    "h": 275.1
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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