#4D52CA#4D52CA

#4D52CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.183 H 275.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4D52CA
RGBrgb(77, 82, 202)
HSLhsl(238, 54%, 55%)
HSVhsv(238, 62%, 79%)
CMYKcmyk(61.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(41.02, 34.48, -63.14)
CIE-LCHlch(41.02, 71.94, 298.64°)
OKLaboklab(50.54% 0.0187 -0.1816)
OKLCHoklch(50.54% 0.183 275.9)
XYZxyz(16.7351, 11.8753, 57.2759)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52CA #CAC54D
analogous
#4D91CA #4D52CA #874DCA
triadic
#4D52CA #CA4D52 #52CA4D
tetradic
#4D52CA #CA4D91 #CAC54D #4DCA87
square
#4D52CA #CA4D91 #CAC54D #4DCA87
split-complementary
#4D52CA #CA874D #91CA4D
monochromatic
#242779 #3237A8 #4D52CA #7C80D8 #ABAEE6

Accessibility & contrast

On white

6.22
#4D52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4D52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52CA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52CA#FFFFFF#000000##FFFFFF
##4D52CA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d52ca;
/* rgb */ color: rgb(77, 82, 202);
/* oklch */ color: oklch(50.5% 0.183 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b82db',
    500: '#4d52ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d52ca;
$custom-light: #8b82db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52ca",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 237.6,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.18259,
    "h": 275.9
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#4D52CA
secondary
#D4D29F
accent
#D84ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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