#4D50BB#4D50BB

#4D50BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.165 H 277.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4D50BB
RGBrgb(77, 80, 187)
HSLhsl(238, 45%, 52%)
HSVhsv(238, 59%, 73%)
CMYKcmyk(58.8%, 57.2%, 0%, 26.7%)
CIE-LABlab(39.41, 30.72, -57.01)
CIE-LCHlch(39.41, 64.76, 298.32°)
OKLaboklab(49% 0.0207 -0.1636)
OKLCHoklch(49% 0.165 277.2)
XYZxyz(14.8960, 10.9019, 48.3234)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50BB #BBB84D
analogous
#4D87BB #4D50BB #814DBB
triadic
#4D50BB #BB4D50 #50BB4D
tetradic
#4D50BB #BB4D87 #BBB84D #4DBB81
square
#4D50BB #BB4D87 #BBB84D #4DBB81
split-complementary
#4D50BB #BB814D #87BB4D
monochromatic
#272966 #383B93 #4D50BB #797CCC #A6A7DD

Accessibility & contrast

On white

6.60
#4D50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4D50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50BB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50BB#FFFFFF#000000##FFFFFF
##4D50BB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d50bb;
/* rgb */ color: rgb(77, 80, 187);
/* oklch */ color: oklch(49.0% 0.165 277.2);
Tailwind
colors: {
  custom: {
    50: '#8981d0',
    500: '#4d50bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d50bb;
$custom-light: #8981d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50bb",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 238.364,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49,
    "c": 0.16492,
    "h": 277.2
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#4D50BB
secondary
#CAC99A
accent
#D153D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4D50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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