#4D52BC#4D52BC

#4D52BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.164 H 276.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4D52BC
RGBrgb(77, 82, 188)
HSLhsl(237, 45%, 52%)
HSVhsv(237, 59%, 74%)
CMYKcmyk(59%, 56.4%, 0%, 26.3%)
CIE-LABlab(39.99, 29.80, -56.67)
CIE-LCHlch(39.99, 64.03, 297.73°)
OKLaboklab(49.45% 0.0187 -0.1626)
OKLCHoklch(49.45% 0.164 276.6)
XYZxyz(15.1520, 11.2421, 48.9387)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52BC #BCB74D
analogous
#4D8ABC #4D52BC #804DBC
triadic
#4D52BC #BC4D52 #52BC4D
tetradic
#4D52BC #BC4D8A #BCB74D #4DBC80
square
#4D52BC #BC4D8A #BCB74D #4DBC80
split-complementary
#4D52BC #BC804D #8ABC4D
monochromatic
#272A68 #383C94 #4D52BC #797DCD #A6A8DD

Accessibility & contrast

On white

6.46
#4D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52BC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52BC#FFFFFF#000000##FFFFFF
##4D52BC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d52bc;
/* rgb */ color: rgb(77, 82, 188);
/* oklch */ color: oklch(49.4% 0.164 276.6);
Tailwind
colors: {
  custom: {
    50: '#8982d1',
    500: '#4d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d52bc;
$custom-light: #8982d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52bc",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 237.297,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.16369,
    "h": 276.6
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#4D52BC
secondary
#CBC99A
accent
#CF53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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