#4D52AE#4D52AE

#4D52AE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.144 H 277.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4D52AE
RGBrgb(77, 82, 174)
HSLhsl(237, 39%, 49%)
HSVhsv(237, 56%, 68%)
CMYKcmyk(55.7%, 52.9%, 0%, 31.8%)
CIE-LABlab(39.01, 25.13, -50.01)
CIE-LCHlch(39.01, 55.96, 296.68°)
OKLaboklab(48.41% 0.0181 -0.143)
OKLCHoklch(48.41% 0.144 277.2)
XYZxyz(13.7154, 10.6674, 41.3725)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52AE #AEA94D
analogous
#4D83AE #4D52AE #794DAE
triadic
#4D52AE #AE4D52 #52AE4D
tetradic
#4D52AE #AE4D83 #AEA94D #4DAE79
square
#4D52AE #AE4D83 #AEA94D #4DAE79
split-complementary
#4D52AE #AE794D #83AE4D
monochromatic
#272A59 #3A3E84 #4D52AE #767AC2 #A0A3D5

Accessibility & contrast

On white

6.70
#4D52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4D52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52AE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52AE#FFFFFF#000000##FFFFFF
##4D52AE1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#0B58AC
Tritanopia (blue-blind)
#1B6778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d52ae;
/* rgb */ color: rgb(77, 82, 174);
/* oklch */ color: oklch(48.4% 0.144 277.2);
Tailwind
colors: {
  custom: {
    50: '#8782c7',
    500: '#4d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d52ae;
$custom-light: #8782c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52ae",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 236.907,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.14413,
    "h": 277.2
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#4D52AE
secondary
#C2C095
accent
#C959CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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