#4D5FA2#4D5FA2

#4D5FA2 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.3% C 0.109 H 270.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4D5FA2
RGBrgb(77, 95, 162)
HSLhsl(227, 36%, 47%)
HSVhsv(227, 52%, 64%)
CMYKcmyk(52.5%, 41.4%, 0%, 36.5%)
CIE-LABlab(41.80, 12.85, -38.44)
CIE-LCHlch(41.80, 40.53, 288.49°)
OKLaboklab(50.29% 0.0014 -0.1089)
OKLCHoklch(50.29% 0.109 270.7)
XYZxyz(13.6723, 12.3699, 35.8426)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FA2 #A2904D
analogous
#4D8AA2 #4D5FA2 #664DA2
triadic
#4D5FA2 #A24D5F #5FA24D
tetradic
#4D5FA2 #A24D8A #A2904D #4DA266
square
#4D5FA2 #A24D8A #A2904D #4DA266
split-complementary
#4D5FA2 #A2664D #8AA24D
monochromatic
#262E4F #394779 #4D5FA2 #7181BB #9AA5CF

Accessibility & contrast

On white

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

On black

3.47
#4D5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D5FA2#FFFFFF#000000##FFFFFF
##4D5FA21.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#3B5FA1
Tritanopia (blue-blind)
#266D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d5fa2;
/* rgb */ color: rgb(77, 95, 162);
/* oklch */ color: oklch(50.3% 0.109 270.7);
Tailwind
colors: {
  custom: {
    50: '#848cbe',
    500: '#4d5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fa2;
$custom-light: #848cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fa2",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 227.294,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5029,
    "c": 0.10893,
    "h": 270.7
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#4D5FA2
secondary
#BCB28F
accent
#B45CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4D5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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