#4B50D7#4B50D7

#4B50D7 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.1% C 0.202 H 275.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4B50D7
RGBrgb(75, 80, 215)
HSLhsl(238, 64%, 57%)
HSVhsv(238, 65%, 84%)
CMYKcmyk(65.1%, 62.8%, 0%, 15.7%)
CIE-LABlab(41.43, 39.74, -69.95)
CIE-LCHlch(41.43, 80.45, 299.60°)
OKLaboklab(51.13% 0.0176 -0.2017)
OKLCHoklch(51.13% 0.202 275)
XYZxyz(18.0320, 12.1379, 65.6694)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B50D7 #D7D24B
analogous
#4B96D7 #4B50D7 #8C4BD7
triadic
#4B50D7 #D74B50 #50D74B
tetradic
#4B50D7 #D74B96 #D7D24B #4BD78C
square
#4B50D7 #D74B96 #D7D24B #4BD78C
split-complementary
#4B50D7 #D78C4B #96D74B
monochromatic
#1E2289 #2A2FBB #4B50D7 #7D81E2 #AFB1ED

Accessibility & contrast

On white

6.13
#4B50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4B50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B50D7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B50D7#FFFFFF#000000##FFFFFF
##4B50D71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b50d7;
/* rgb */ color: rgb(75, 80, 215);
/* oklch */ color: oklch(51.1% 0.202 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d81e4',
    500: '#4b50d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b50d7;
$custom-light: #8d81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b50d7",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 237.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.20246,
    "h": 275
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#4B50D7
secondary
#DBD9A2
accent
#E141E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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