#4D5DB2#4D5DB2

#4D5DB2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.135 H 272.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D5DB2
RGBrgb(77, 93, 178)
HSLhsl(230, 40%, 50%)
HSVhsv(230, 57%, 70%)
CMYKcmyk(56.7%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.18, 19.46, -47.27)
CIE-LCHlch(42.18, 51.12, 292.37°)
OKLaboklab(50.89% 0.0064 -0.1348)
OKLCHoklch(50.89% 0.135 272.7)
XYZxyz(15.0082, 12.6197, 43.7558)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DB2 #B2A24D
analogous
#4D90B2 #4D5DB2 #6F4DB2
triadic
#4D5DB2 #B24D5D #5DB24D
tetradic
#4D5DB2 #B24D90 #B2A24D #4DB26F
square
#4D5DB2 #B24D90 #B2A24D #4DB26F
split-complementary
#4D5DB2 #B26F4D #90B24D
monochromatic
#28305D #3B4787 #4D5DB2 #7884C4 #A2ABD7

Accessibility & contrast

On white

5.96
#4D5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4D5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DB2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DB2#FFFFFF#000000##FFFFFF
##4D5DB21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#275FB0
Tritanopia (blue-blind)
#10707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d5db2;
/* rgb */ color: rgb(77, 93, 178);
/* oklch */ color: oklch(50.9% 0.135 272.7);
Tailwind
colors: {
  custom: {
    50: '#878ac9',
    500: '#4d5db2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5db2;
$custom-light: #878ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5db2",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 230.495,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.13499,
    "h": 272.7
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#4D5DB2
secondary
#C4BD97
accent
#BD58CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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