#4C50BD#4C50BD

#4C50BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.168 H 276.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4C50BD
RGBrgb(76, 80, 189)
HSLhsl(238, 46%, 52%)
HSVhsv(238, 60%, 74%)
CMYKcmyk(59.8%, 57.7%, 0%, 25.9%)
CIE-LABlab(39.49, 31.21, -58.06)
CIE-LCHlch(39.49, 65.92, 298.26°)
OKLaboklab(49.08% 0.0195 -0.1667)
OKLCHoklch(49.08% 0.168 276.7)
XYZxyz(15.0315, 10.9468, 49.4551)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50BD #BDB94C
analogous
#4C89BD #4C50BD #814CBD
triadic
#4C50BD #BD4C50 #50BD4C
tetradic
#4C50BD #BD4C89 #BDB94C #4CBD81
square
#4C50BD #BD4C89 #BDB94C #4CBD81
split-complementary
#4C50BD #BD814C #89BD4C
monochromatic
#262968 #373A95 #4C50BD #797CCD #A5A7DE

Accessibility & contrast

On white

6.58
#4C50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4C50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50BD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50BD#FFFFFF#000000##FFFFFF
##4C50BD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c50bd;
/* rgb */ color: rgb(76, 80, 189);
/* oklch */ color: oklch(49.1% 0.168 276.7);
Tailwind
colors: {
  custom: {
    50: '#8981d2',
    500: '#4c50bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c50bd;
$custom-light: #8981d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50bd",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 237.876,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49084,
    "c": 0.16788,
    "h": 276.7
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#4C50BD
secondary
#CBC99A
accent
#D152D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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