#4A50D4#4A50D4

#4A50D4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.199 H 274.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4A50D4
RGBrgb(74, 80, 212)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 65%, 83%)
CMYKcmyk(65.1%, 62.3%, 0%, 16.9%)
CIE-LABlab(41.13, 38.60, -68.73)
CIE-LCHlch(41.13, 78.83, 299.31°)
OKLaboklab(50.81% 0.0166 -0.1981)
OKLCHoklch(50.81% 0.199 274.8)
XYZxyz(17.5724, 11.9451, 63.6542)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50D4 #D4CE4A
analogous
#4A95D4 #4A50D4 #894AD4
triadic
#4A50D4 #D44A50 #50D44A
tetradic
#4A50D4 #D44A95 #D4CE4A #4AD489
square
#4A50D4 #D44A95 #D4CE4A #4AD489
split-complementary
#4A50D4 #D4894A #95D44A
monochromatic
#1F2484 #2B31B6 #4A50D4 #7B80E0 #ADB0EB

Accessibility & contrast

On white

6.20
#4A50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4A50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50D4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50D4#FFFFFF#000000##FFFFFF
##4A50D41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a50d4;
/* rgb */ color: rgb(74, 80, 212);
/* oklch */ color: oklch(50.8% 0.199 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c81e2',
    500: '#4a50d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a50d4;
$custom-light: #8c81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50d4",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 237.391,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.19884,
    "h": 274.8
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#4A50D4
secondary
#D9D7A0
accent
#DE43E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4A50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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