#4C50C8#4C50C8

#4C50C8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.183 H 276.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4C50C8
RGBrgb(76, 80, 200)
HSLhsl(238, 53%, 54%)
HSVhsv(238, 62%, 78%)
CMYKcmyk(62%, 60%, 0%, 21.6%)
CIE-LABlab(40.32, 34.88, -63.13)
CIE-LCHlch(40.32, 72.13, 298.93°)
OKLaboklab(49.96% 0.0194 -0.1816)
OKLCHoklch(49.96% 0.183 276.1)
XYZxyz(16.2711, 11.4427, 55.9836)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50C8 #C8C44C
analogous
#4C8EC8 #4C50C8 #864CC8
triadic
#4C50C8 #C84C50 #50C84C
tetradic
#4C50C8 #C84C8E #C8C44C #4CC886
square
#4C50C8 #C84C8E #C8C44C #4CC886
split-complementary
#4C50C8 #C8864C #8EC84C
monochromatic
#242775 #3236A4 #4C50C8 #7B7ED6 #AAACE5

Accessibility & contrast

On white

6.39
#4C50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C50C8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50C8#FFFFFF#000000##FFFFFF
##4C50C81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c50c8;
/* rgb */ color: rgb(76, 80, 200);
/* oklch */ color: oklch(50.0% 0.183 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b81da',
    500: '#4c50c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c50c8;
$custom-light: #8b81da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50c8",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 238.065,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.18266,
    "h": 276.1
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#4C50C8
secondary
#D2D19E
accent
#D84BDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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