#4D5BB5#4D5BB5

#4D5BB5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.142 H 273.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4D5BB5
RGBrgb(77, 91, 181)
HSLhsl(232, 41%, 51%)
HSVhsv(232, 57%, 71%)
CMYKcmyk(57.5%, 49.7%, 0%, 29%)
CIE-LABlab(41.84, 21.74, -49.59)
CIE-LCHlch(41.84, 54.14, 293.67°)
OKLaboklab(50.69% 0.0089 -0.1417)
OKLCHoklch(50.69% 0.142 273.6)
XYZxyz(15.1394, 12.3950, 45.3018)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5BB5 #B5A74D
analogous
#4D8FB5 #4D5BB5 #734DB5
triadic
#4D5BB5 #B54D5B #5BB54D
tetradic
#4D5BB5 #B54D8F #B5A74D #4DB573
square
#4D5BB5 #B54D8F #B5A74D #4DB573
split-complementary
#4D5BB5 #B5734D #8FB54D
monochromatic
#282F60 #3A458B #4D5BB5 #7883C7 #A3ABD9

Accessibility & contrast

On white

6.04
#4D5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4D5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5BB5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5BB5#FFFFFF#000000##FFFFFF
##4D5BB51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#1D5EB3
Tritanopia (blue-blind)
#086F7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d5bb5;
/* rgb */ color: rgb(77, 91, 181);
/* oklch */ color: oklch(50.7% 0.142 273.6);
Tailwind
colors: {
  custom: {
    50: '#8789cc',
    500: '#4d5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #4d5bb5;
$custom-light: #8789cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5bb5",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 231.923,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.14195,
    "h": 273.6
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#4D5BB5
secondary
#C6C098
accent
#C157D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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