#4A50CD#4A50CD

#4A50CD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.190 H 275.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4A50CD
RGBrgb(74, 80, 205)
HSLhsl(237, 57%, 55%)
HSVhsv(237, 64%, 80%)
CMYKcmyk(63.9%, 61%, 0%, 19.6%)
CIE-LABlab(40.57, 36.25, -65.61)
CIE-LCHlch(40.57, 74.96, 298.92°)
OKLaboklab(50.23% 0.0169 -0.189)
OKLCHoklch(50.23% 0.19 275.1)
XYZxyz(16.7085, 11.5995, 59.1042)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50CD #CDC74A
analogous
#4A92CD #4A50CD #864ACD
triadic
#4A50CD #CD4A50 #50CD4A
tetradic
#4A50CD #CD4A92 #CDC74A #4ACD86
square
#4A50CD #CD4A92 #CDC74A #4ACD86
split-complementary
#4A50CD #CD864A #92CD4A
monochromatic
#22267B #2F35AB #4A50CD #7A7EDA #AAADE7

Accessibility & contrast

On white

6.32
#4A50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4A50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50CD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50CD#FFFFFF#000000##FFFFFF
##4A50CD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a50cd;
/* rgb */ color: rgb(74, 80, 205);
/* oklch */ color: oklch(50.2% 0.190 275.1);
Tailwind
colors: {
  custom: {
    50: '#8b81dd',
    500: '#4a50cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a50cd;
$custom-light: #8b81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50cd",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 237.252,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.18973,
    "h": 275.1
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#4A50CD
secondary
#D5D29E
accent
#D948E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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