#4C50BF#4C50BF

#4C50BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.171 H 276.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4C50BF
RGBrgb(76, 80, 191)
HSLhsl(238, 47%, 52%)
HSVhsv(238, 60%, 75%)
CMYKcmyk(60.2%, 58.1%, 0%, 25.1%)
CIE-LABlab(39.64, 31.88, -58.99)
CIE-LCHlch(39.64, 67.05, 298.38°)
OKLaboklab(49.24% 0.0195 -0.1695)
OKLCHoklch(49.24% 0.171 276.6)
XYZxyz(15.2501, 11.0343, 50.6063)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50BF #BFBB4C
analogous
#4C8ABF #4C50BF #824CBF
triadic
#4C50BF #BF4C50 #50BF4C
tetradic
#4C50BF #BF4C8A #BFBB4C #4CBF82
square
#4C50BF #BF4C8A #BFBB4C #4CBF82
split-complementary
#4C50BF #BF824C #8ABF4C
monochromatic
#26286B #363A98 #4C50BF #797CCF #A6A8DF

Accessibility & contrast

On white

6.55
#4C50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4C50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50BF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50BF#FFFFFF#000000##FFFFFF
##4C50BF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c50bf;
/* rgb */ color: rgb(76, 80, 191);
/* oklch */ color: oklch(49.2% 0.171 276.6);
Tailwind
colors: {
  custom: {
    50: '#8981d3',
    500: '#4c50bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c50bf;
$custom-light: #8981d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50bf",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 237.913,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.17059,
    "h": 276.6
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#4C50BF
secondary
#CCCB9A
accent
#D251D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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