#4D52D8#4D52D8

#4D52D8 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.201 H 275.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4D52D8
RGBrgb(77, 82, 216)
HSLhsl(238, 64%, 57%)
HSVhsv(238, 64%, 85%)
CMYKcmyk(64.4%, 62%, 0%, 15.3%)
CIE-LABlab(42.11, 39.14, -69.42)
CIE-LCHlch(42.11, 79.70, 299.42°)
OKLaboklab(51.68% 0.0182 -0.2001)
OKLCHoklch(51.68% 0.201 275.2)
XYZxyz(18.4685, 12.5687, 66.4052)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52D8 #D8D34D
analogous
#4D97D8 #4D52D8 #8E4DD8
triadic
#4D52D8 #D84D52 #52D84D
tetradic
#4D52D8 #D84D97 #D8D34D #4DD88E
square
#4D52D8 #D84D97 #D8D34D #4DD88E
split-complementary
#4D52D8 #D88E4D #97D84D
monochromatic
#1F238C #2A2FBE #4D52D8 #7F83E3 #B1B4EE

Accessibility & contrast

On white

5.98
#4D52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4D52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52D8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52D8#FFFFFF#000000##FFFFFF
##4D52D81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d52d8;
/* rgb */ color: rgb(77, 82, 216);
/* oklch */ color: oklch(51.7% 0.201 275.2);
Tailwind
colors: {
  custom: {
    50: '#8e83e5',
    500: '#4d52d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d52d8;
$custom-light: #8e83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52d8",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 237.842,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.20091,
    "h": 275.2
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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