#4D52BE#4D52BE

#4D52BE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.166 H 276.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D52BE
RGBrgb(77, 82, 190)
HSLhsl(237, 47%, 52%)
HSVhsv(237, 59%, 75%)
CMYKcmyk(59.5%, 56.8%, 0%, 25.5%)
CIE-LABlab(40.13, 30.46, -57.61)
CIE-LCHlch(40.13, 65.17, 297.87°)
OKLaboklab(49.6% 0.0188 -0.1654)
OKLCHoklch(49.6% 0.166 276.5)
XYZxyz(15.3691, 11.3289, 50.0820)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52BE #BEB94D
analogous
#4D8BBE #4D52BE #804DBE
triadic
#4D52BE #BE4D52 #52BE4D
tetradic
#4D52BE #BE4D8B #BEB94D #4DBE80
square
#4D52BE #BE4D8B #BEB94D #4DBE80
split-complementary
#4D52BE #BE804D #8BBE4D
monochromatic
#272A6A #373B97 #4D52BE #7A7ECE #A7A9DF

Accessibility & contrast

On white

6.43
#4D52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D52BE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52BE#FFFFFF#000000##FFFFFF
##4D52BE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d52be;
/* rgb */ color: rgb(77, 82, 190);
/* oklch */ color: oklch(49.6% 0.166 276.5);
Tailwind
colors: {
  custom: {
    50: '#8982d2',
    500: '#4d52be',
    950: '#000000',
  },
}
SCSS
$custom: #4d52be;
$custom-light: #8982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52be",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 237.345,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.496,
    "c": 0.16642,
    "h": 276.5
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#4D52BE
secondary
#CCCA9B
accent
#D052D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4D52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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