#4D5DBE#4D5DBE

#4D5DBE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.152 H 272.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4D5DBE
RGBrgb(77, 93, 190)
HSLhsl(232, 47%, 52%)
HSVhsv(232, 59%, 75%)
CMYKcmyk(59.5%, 51.1%, 0%, 25.5%)
CIE-LABlab(42.95, 23.51, -53.06)
CIE-LCHlch(42.95, 58.03, 293.90°)
OKLaboklab(51.71% 0.0077 -0.1519)
OKLCHoklch(51.71% 0.152 272.9)
XYZxyz(16.2661, 13.1229, 50.3810)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DBE #BEAE4D
analogous
#4D96BE #4D5DBE #754DBE
triadic
#4D5DBE #BE4D5D #5DBE4D
tetradic
#4D5DBE #BE4D96 #BEAE4D #4DBE75
square
#4D5DBE #BE4D96 #BEAE4D #4DBE75
split-complementary
#4D5DBE #BE754D #96BE4D
monochromatic
#27306A #374597 #4D5DBE #7A86CE #A7AFDF

Accessibility & contrast

On white

5.79
#4D5DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4D5DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DBE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DBE#FFFFFF#000000##FFFFFF
##4D5DBE1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC1
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d5dbe;
/* rgb */ color: rgb(77, 93, 190);
/* oklch */ color: oklch(51.7% 0.152 272.9);
Tailwind
colors: {
  custom: {
    50: '#898ad2',
    500: '#4d5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #4d5dbe;
$custom-light: #898ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5dbe",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 231.504,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.15205,
    "h": 272.9
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#4D5DBE
secondary
#CCC59B
accent
#C352D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4D5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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