#4D50BF#4D50BF

#4D50BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.170 H 277.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4D50BF
RGBrgb(77, 80, 191)
HSLhsl(238, 47%, 53%)
HSVhsv(238, 60%, 75%)
CMYKcmyk(59.7%, 58.1%, 0%, 25.1%)
CIE-LABlab(39.71, 32.05, -58.88)
CIE-LCHlch(39.71, 67.04, 298.56°)
OKLaboklab(49.31% 0.0207 -0.1691)
OKLCHoklch(49.31% 0.17 277)
XYZxyz(15.3302, 11.0755, 50.6101)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50BF #BFBC4D
analogous
#4D89BF #4D50BF #834DBF
triadic
#4D50BF #BF4D50 #50BF4D
tetradic
#4D50BF #BF4D89 #BFBC4D #4DBF83
square
#4D50BF #BF4D89 #BFBC4D #4DBF83
split-complementary
#4D50BF #BF834D #89BF4D
monochromatic
#27286B #373998 #4D50BF #7A7CCF #A7A9DF

Accessibility & contrast

On white

6.53
#4D50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4D50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50BF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50BF#FFFFFF#000000##FFFFFF
##4D50BF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d50bf;
/* rgb */ color: rgb(77, 80, 191);
/* oklch */ color: oklch(49.3% 0.170 277.0);
Tailwind
colors: {
  custom: {
    50: '#8a81d3',
    500: '#4d50bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d50bf;
$custom-light: #8a81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50bf",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 238.421,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.17037,
    "h": 277
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#4D50BF
secondary
#CDCB9B
accent
#D351D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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