#4D5BA4#4D5BA4

#4D5BA4 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.6% C 0.117 H 273.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D5BA4
RGBrgb(77, 91, 164)
HSLhsl(230, 36%, 47%)
HSVhsv(230, 53%, 64%)
CMYKcmyk(53%, 44.5%, 0%, 35.7%)
CIE-LABlab(40.80, 16.06, -41.22)
CIE-LCHlch(40.80, 44.24, 291.28°)
OKLaboklab(49.56% 0.0066 -0.1171)
OKLCHoklch(49.56% 0.117 273.2)
XYZxyz(13.5003, 11.7394, 36.6693)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5BA4 #A4964D
analogous
#4D87A4 #4D5BA4 #6B4DA4
triadic
#4D5BA4 #A44D5B #5BA44D
tetradic
#4D5BA4 #A44D87 #A4964D #4DA46B
square
#4D5BA4 #A44D87 #A4964D #4DA46B
split-complementary
#4D5BA4 #A46B4D #87A44D
monochromatic
#262D51 #39447A #4D5BA4 #727EBD #9BA4D0

Accessibility & contrast

On white

6.27
#4D5BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D5BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5BA4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5BA4#FFFFFF#000000##FFFFFF
##4D5BA41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#256B77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d5ba4;
/* rgb */ color: rgb(77, 91, 164);
/* oklch */ color: oklch(49.6% 0.117 273.2);
Tailwind
colors: {
  custom: {
    50: '#8589bf',
    500: '#4d5ba4',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ba4;
$custom-light: #8589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ba4",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 230.345,
    "s": 36.1,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.11728,
    "h": 273.2
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#4D5BA4
secondary
#BDB690
accent
#BA5CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4D5BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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