#4D52D7#4D52D7

#4D52D7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.200 H 275.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4D52D7
RGBrgb(77, 82, 215)
HSLhsl(238, 63%, 57%)
HSVhsv(238, 64%, 84%)
CMYKcmyk(64.2%, 61.9%, 0%, 15.7%)
CIE-LABlab(42.03, 38.81, -68.98)
CIE-LCHlch(42.03, 79.15, 299.36°)
OKLaboklab(51.6% 0.0183 -0.1988)
OKLCHoklch(51.6% 0.2 275.2)
XYZxyz(18.3396, 12.5171, 65.7264)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52D7 #D7D24D
analogous
#4D97D7 #4D52D7 #8D4DD7
triadic
#4D52D7 #D74D52 #52D74D
tetradic
#4D52D7 #D74D97 #D7D24D #4DD78D
square
#4D52D7 #D74D97 #D7D24D #4DD78D
split-complementary
#4D52D7 #D78D4D #97D74D
monochromatic
#1F238A #2A30BC #4D52D7 #7F83E2 #B1B3ED

Accessibility & contrast

On white

5.99
#4D52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4D52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52D7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52D7#FFFFFF#000000##FFFFFF
##4D52D71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d52d7;
/* rgb */ color: rgb(77, 82, 215);
/* oklch */ color: oklch(51.6% 0.200 275.2);
Tailwind
colors: {
  custom: {
    50: '#8e83e4',
    500: '#4d52d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d52d7;
$custom-light: #8e83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52d7",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 237.826,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.19962,
    "h": 275.2
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#4D52D7
secondary
#DCDAA4
accent
#E041E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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