#4D5BC2#4D5BC2

#4D5BC2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.160 H 273.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4D5BC2
RGBrgb(77, 91, 194)
HSLhsl(233, 49%, 53%)
HSVhsv(233, 60%, 76%)
CMYKcmyk(60.3%, 53.1%, 0%, 23.9%)
CIE-LABlab(42.69, 26.14, -55.79)
CIE-LCHlch(42.69, 61.61, 295.10°)
OKLaboklab(51.61% 0.01 -0.1599)
OKLCHoklch(51.61% 0.16 273.6)
XYZxyz(16.5361, 12.9537, 52.6574)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5BC2 #C2B44D
analogous
#4D95C2 #4D5BC2 #7A4DC2
triadic
#4D5BC2 #C24D5B #5BC24D
tetradic
#4D5BC2 #C24D95 #C2B44D #4DC27A
square
#4D5BC2 #C24D95 #C2B44D #4DC27A
split-complementary
#4D5BC2 #C27A4D #95C24D
monochromatic
#262F6F #36429C #4D5BC2 #7B85D2 #A8AFE1

Accessibility & contrast

On white

5.85
#4D5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5BC2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5BC2#FFFFFF#000000##FFFFFF
##4D5BC21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d5bc2;
/* rgb */ color: rgb(77, 91, 194);
/* oklch */ color: oklch(51.6% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a89d5',
    500: '#4d5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5bc2;
$custom-light: #8a89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5bc2",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 232.821,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.16023,
    "h": 273.6
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#4D5BC2
secondary
#CFC99C
accent
#C84FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4D5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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