#4A50CB#4A50CB

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

Color values

HEX#4A50CB
RGBrgb(74, 80, 203)
HSLhsl(237, 55%, 54%)
HSVhsv(237, 64%, 80%)
CMYKcmyk(63.5%, 60.6%, 0%, 20.4%)
CIE-LABlab(40.42, 35.57, -64.71)
CIE-LCHlch(40.42, 73.84, 298.80°)
OKLaboklab(50.07% 0.017 -0.1863)
OKLCHoklch(50.07% 0.187 275.2)
XYZxyz(16.4687, 11.5036, 57.8409)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50CB #CBC54A
analogous
#4A91CB #4A50CB #854ACB
triadic
#4A50CB #CB4A50 #50CB4A
tetradic
#4A50CB #CB4A91 #CBC54A #4ACB85
square
#4A50CB #CB4A91 #CBC54A #4ACB85
split-complementary
#4A50CB #CB854A #91CB4A
monochromatic
#232678 #3036A8 #4A50CB #7A7ED9 #A9ACE6

Accessibility & contrast

On white

6.36
#4A50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4A50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50CB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50CB#FFFFFF#000000##FFFFFF
##4A50CB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a50cb;
/* rgb */ color: rgb(74, 80, 203);
/* oklch */ color: oklch(50.1% 0.187 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a81dc',
    500: '#4a50cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a50cb;
$custom-light: #8a81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50cb",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 237.209,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.1871,
    "h": 275.2
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#4A50CB
secondary
#D4D19D
accent
#D849DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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