#4C50BB#4C50BB

#4C50BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.165 H 276.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4C50BB
RGBrgb(76, 80, 187)
HSLhsl(238, 45%, 52%)
HSVhsv(238, 59%, 73%)
CMYKcmyk(59.4%, 57.2%, 0%, 26.7%)
CIE-LABlab(39.34, 30.54, -57.13)
CIE-LCHlch(39.34, 64.78, 298.13°)
OKLaboklab(48.93% 0.0195 -0.164)
OKLCHoklch(48.93% 0.165 276.8)
XYZxyz(14.8159, 10.8606, 48.3196)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50BB #BBB74C
analogous
#4C88BB #4C50BB #804CBB
triadic
#4C50BB #BB4C50 #50BB4C
tetradic
#4C50BB #BB4C88 #BBB74C #4CBB80
square
#4C50BB #BB4C88 #BBB74C #4CBB80
split-complementary
#4C50BB #BB804C #88BB4C
monochromatic
#272966 #383B92 #4C50BB #787BCC #A5A7DD

Accessibility & contrast

On white

6.62
#4C50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4C50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50BB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50BB#FFFFFF#000000##FFFFFF
##4C50BB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c50bb;
/* rgb */ color: rgb(76, 80, 187);
/* oklch */ color: oklch(48.9% 0.165 276.8);
Tailwind
colors: {
  custom: {
    50: '#8881d0',
    500: '#4c50bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c50bb;
$custom-light: #8881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50bb",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 237.838,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.16515,
    "h": 276.8
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#4C50BB
secondary
#CAC899
accent
#D053D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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