#4A50C8#4A50C8

#4A50C8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.183 H 275.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4A50C8
RGBrgb(74, 80, 200)
HSLhsl(237, 53%, 54%)
HSVhsv(237, 63%, 78%)
CMYKcmyk(63%, 60%, 0%, 21.6%)
CIE-LABlab(40.18, 34.56, -63.35)
CIE-LCHlch(40.18, 72.17, 298.62°)
OKLaboklab(49.82% 0.0171 -0.1823)
OKLCHoklch(49.82% 0.183 275.4)
XYZxyz(16.1146, 11.3620, 55.9763)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50C8 #C8C24A
analogous
#4A8FC8 #4A50C8 #834AC8
triadic
#4A50C8 #C84A50 #50C84A
tetradic
#4A50C8 #C84A8F #C8C24A #4AC883
square
#4A50C8 #C84A8F #C8C24A #4AC883
split-complementary
#4A50C8 #C8834A #8FC84A
monochromatic
#232774 #3237A3 #4A50C8 #797DD6 #A8ABE5

Accessibility & contrast

On white

6.42
#4A50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4A50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50C8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50C8#FFFFFF#000000##FFFFFF
##4A50C81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a50c8;
/* rgb */ color: rgb(74, 80, 200);
/* oklch */ color: oklch(49.8% 0.183 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a81da',
    500: '#4a50c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a50c8;
$custom-light: #8a81da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50c8",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 237.143,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.18313,
    "h": 275.4
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#4A50C8
secondary
#D2CF9C
accent
#D64BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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