#4A50CC#4A50CC

#4A50CC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.188 H 275.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4A50CC
RGBrgb(74, 80, 204)
HSLhsl(237, 56%, 55%)
HSVhsv(237, 64%, 80%)
CMYKcmyk(63.7%, 60.8%, 0%, 20%)
CIE-LABlab(40.49, 35.91, -65.16)
CIE-LCHlch(40.49, 74.40, 298.86°)
OKLaboklab(50.15% 0.017 -0.1876)
OKLCHoklch(50.15% 0.188 275.2)
XYZxyz(16.5882, 11.5514, 58.4705)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50CC #CCC64A
analogous
#4A91CC #4A50CC #854ACC
triadic
#4A50CC #CC4A50 #50CC4A
tetradic
#4A50CC #CC4A91 #CCC64A #4ACC85
square
#4A50CC #CC4A91 #CCC64A #4ACC85
split-complementary
#4A50CC #CC854A #91CC4A
monochromatic
#222679 #3035A9 #4A50CC #7A7ED9 #A9ACE7

Accessibility & contrast

On white

6.34
#4A50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4A50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50CC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50CC#FFFFFF#000000##FFFFFF
##4A50CC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a50cc;
/* rgb */ color: rgb(74, 80, 204);
/* oklch */ color: oklch(50.1% 0.188 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b81dc',
    500: '#4a50cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a50cc;
$custom-light: #8b81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50cc",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 237.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.18842,
    "h": 275.2
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#4A50CC
secondary
#D4D29D
accent
#D848DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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