#4A50BD#4A50BD

#4A50BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.168 H 275.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4A50BD
RGBrgb(74, 80, 189)
HSLhsl(237, 47%, 52%)
HSVhsv(237, 61%, 74%)
CMYKcmyk(60.8%, 57.7%, 0%, 25.9%)
CIE-LABlab(39.35, 30.85, -58.29)
CIE-LCHlch(39.35, 65.95, 297.89°)
OKLaboklab(48.95% 0.0172 -0.1675)
OKLCHoklch(48.95% 0.168 275.9)
XYZxyz(14.8750, 10.8661, 49.4478)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50BD #BDB74A
analogous
#4A8ABD #4A50BD #7E4ABD
triadic
#4A50BD #BD4A50 #50BD4A
tetradic
#4A50BD #BD4A8A #BDB74A #4ABD7E
square
#4A50BD #BD4A8A #BDB74A #4ABD7E
split-complementary
#4A50BD #BD7E4A #8ABD4A
monochromatic
#262967 #363B94 #4A50BD #777BCD #A4A7DE

Accessibility & contrast

On white

6.62
#4A50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4A50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50BD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50BD#FFFFFF#000000##FFFFFF
##4A50BD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a50bd;
/* rgb */ color: rgb(74, 80, 189);
/* oklch */ color: oklch(48.9% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#8881d2',
    500: '#4a50bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a50bd;
$custom-light: #8881d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50bd",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 236.87,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.16834,
    "h": 275.9
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#4A50BD
secondary
#CBC898
accent
#CF52D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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