#4D5CBF#4D5CBF

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

Color values

HEX#4D5CBF
RGBrgb(77, 92, 191)
HSLhsl(232, 47%, 53%)
HSVhsv(232, 60%, 75%)
CMYKcmyk(59.7%, 51.8%, 0%, 25.1%)
CIE-LABlab(42.75, 24.49, -53.95)
CIE-LCHlch(42.75, 59.25, 294.41°)
OKLaboklab(51.59% 0.0088 -0.1545)
OKLCHoklch(51.59% 0.155 273.3)
XYZxyz(16.2886, 12.9924, 50.9295)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CBF #BFB04D
analogous
#4D95BF #4D5CBF #774DBF
triadic
#4D5CBF #BF4D5C #5CBF4D
tetradic
#4D5CBF #BF4D95 #BFB04D #4DBF77
square
#4D5CBF #BF4D95 #BFB04D #4DBF77
split-complementary
#4D5CBF #BF774D #95BF4D
monochromatic
#27306B #374498 #4D5CBF #7A85CF #A7AEDF

Accessibility & contrast

On white

5.84
#4D5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CBF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CBF#FFFFFF#000000##FFFFFF
##4D5CBF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d5cbf;
/* rgb */ color: rgb(77, 92, 191);
/* oklch */ color: oklch(51.6% 0.155 273.3);
Tailwind
colors: {
  custom: {
    50: '#8989d3',
    500: '#4d5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5cbf;
$custom-light: #8989d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5cbf",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 232.105,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.15475,
    "h": 273.3
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#4D5CBF
secondary
#CDC69B
accent
#C551D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4D5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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