#4D5CB3#4D5CB3

#4D5CB3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.138 H 273.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4D5CB3
RGBrgb(77, 92, 179)
HSLhsl(231, 40%, 50%)
HSVhsv(231, 57%, 70%)
CMYKcmyk(57%, 48.6%, 0%, 29.8%)
CIE-LABlab(41.98, 20.43, -48.19)
CIE-LCHlch(41.98, 52.34, 292.97°)
OKLaboklab(50.75% 0.0076 -0.1375)
OKLCHoklch(50.75% 0.138 273.2)
XYZxyz(15.0217, 12.4856, 44.2575)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CB3 #B3A44D
analogous
#4D8FB3 #4D5CB3 #714DB3
triadic
#4D5CB3 #B34D5C #5CB34D
tetradic
#4D5CB3 #B34D8F #B3A44D #4DB371
square
#4D5CB3 #B34D8F #B3A44D #4DB371
split-complementary
#4D5CB3 #B3714D #8FB34D
monochromatic
#28305E #3A4689 #4D5CB3 #7883C5 #A3ABD8

Accessibility & contrast

On white

6.00
#4D5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4D5CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CB3#FFFFFF#000000##FFFFFF
##4D5CB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#0E6F7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d5cb3;
/* rgb */ color: rgb(77, 92, 179);
/* oklch */ color: oklch(50.8% 0.138 273.2);
Tailwind
colors: {
  custom: {
    50: '#8789ca',
    500: '#4d5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #4d5cb3;
$custom-light: #8789ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5cb3",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 231.176,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.13776,
    "h": 273.2
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#4D5CB3
secondary
#C5BE97
accent
#BE58D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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