#4A50CA#4A50CA

#4A50CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.186 H 275.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4A50CA
RGBrgb(74, 80, 202)
HSLhsl(237, 55%, 54%)
HSVhsv(237, 63%, 79%)
CMYKcmyk(63.4%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.34, 35.24, -64.26)
CIE-LCHlch(40.34, 73.28, 298.74°)
OKLaboklab(49.99% 0.017 -0.185)
OKLCHoklch(49.99% 0.186 275.3)
XYZxyz(16.3499, 11.4561, 57.2153)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50CA #CAC44A
analogous
#4A90CA #4A50CA #844ACA
triadic
#4A50CA #CA4A50 #50CA4A
tetradic
#4A50CA #CA4A90 #CAC44A #4ACA84
square
#4A50CA #CA4A90 #CAC44A #4ACA84
split-complementary
#4A50CA #CA844A #90CA4A
monochromatic
#232777 #3136A6 #4A50CA #797ED8 #A9ACE6

Accessibility & contrast

On white

6.38
#4A50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4A50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50CA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50CA#FFFFFF#000000##FFFFFF
##4A50CA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a50ca;
/* rgb */ color: rgb(74, 80, 202);
/* oklch */ color: oklch(50.0% 0.186 275.3);
Tailwind
colors: {
  custom: {
    50: '#8a81db',
    500: '#4a50ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a50ca;
$custom-light: #8a81db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50ca",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 237.188,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.18578,
    "h": 275.3
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#4A50CA
secondary
#D3D19D
accent
#D74ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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