#4B50D4#4B50D4

#4B50D4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.199 H 275.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4B50D4
RGBrgb(75, 80, 212)
HSLhsl(238, 61%, 56%)
HSVhsv(238, 65%, 83%)
CMYKcmyk(64.6%, 62.3%, 0%, 16.9%)
CIE-LABlab(41.19, 38.74, -68.63)
CIE-LCHlch(41.19, 78.81, 299.44°)
OKLaboklab(50.88% 0.0177 -0.1978)
OKLCHoklch(50.88% 0.199 275.1)
XYZxyz(17.6501, 11.9851, 63.6578)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B50D4 #D4CF4B
analogous
#4B95D4 #4B50D4 #8B4BD4
triadic
#4B50D4 #D44B50 #50D44B
tetradic
#4B50D4 #D44B95 #D4CF4B #4BD48B
square
#4B50D4 #D44B95 #D4CF4B #4BD48B
split-complementary
#4B50D4 #D48B4B #95D44B
monochromatic
#202385 #2C31B6 #4B50D4 #7C80E0 #AEB0EC

Accessibility & contrast

On white

6.18
#4B50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4B50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B50D4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B50D4#FFFFFF#000000##FFFFFF
##4B50D41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.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: #4b50d4;
/* rgb */ color: rgb(75, 80, 212);
/* oklch */ color: oklch(50.9% 0.199 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c81e2',
    500: '#4b50d4',
    950: '#000000',
  },
}
SCSS
$custom: #4b50d4;
$custom-light: #8c81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b50d4",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 237.81,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.1986,
    "h": 275.1
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#4B50D4
secondary
#DAD8A1
accent
#DF43E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4B50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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