#4D52BF#4D52BF

#4D52BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.168 H 276.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4D52BF
RGBrgb(77, 82, 191)
HSLhsl(237, 47%, 53%)
HSVhsv(237, 60%, 75%)
CMYKcmyk(59.7%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.20, 30.80, -58.08)
CIE-LCHlch(40.20, 65.74, 297.94°)
OKLaboklab(49.68% 0.0188 -0.1667)
OKLCHoklch(49.68% 0.168 276.4)
XYZxyz(15.4788, 11.3728, 50.6596)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52BF #BFBA4D
analogous
#4D8BBF #4D52BF #814DBF
triadic
#4D52BF #BF4D52 #52BF4D
tetradic
#4D52BF #BF4D8B #BFBA4D #4DBF81
square
#4D52BF #BF4D8B #BFBA4D #4DBF81
split-complementary
#4D52BF #BF814D #8BBF4D
monochromatic
#272A6B #373B98 #4D52BF #7A7ECF #A7AADF

Accessibility & contrast

On white

6.41
#4D52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52BF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52BF#FFFFFF#000000##FFFFFF
##4D52BF1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d52bf;
/* rgb */ color: rgb(77, 82, 191);
/* oklch */ color: oklch(49.7% 0.168 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a82d3',
    500: '#4d52bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d52bf;
$custom-light: #8a82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52bf",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 237.368,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.16778,
    "h": 276.4
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#4D52BF
secondary
#CDCA9B
accent
#D151D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4D52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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