#4C4FCB#4C4FCB

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

Color values

HEX#4C4FCB
RGBrgb(76, 79, 203)
HSLhsl(239, 55%, 55%)
HSVhsv(239, 63%, 80%)
CMYKcmyk(62.6%, 61.1%, 0%, 20.4%)
CIE-LABlab(40.31, 36.50, -64.88)
CIE-LCHlch(40.31, 74.44, 299.37°)
OKLaboklab(50.02% 0.0202 -0.1868)
OKLCHoklch(50.02% 0.188 276.2)
XYZxyz(16.5525, 11.4389, 57.8240)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FCB #CBC84C
analogous
#4C8ECB #4C4FCB #894CCB
triadic
#4C4FCB #CB4C4F #4FCB4C
tetradic
#4C4FCB #CB4C8E #CBC84C #4CCB89
square
#4C4FCB #CB4C8E #CBC84C #4CCB89
split-complementary
#4C4FCB #CB894C #8ECB4C
monochromatic
#232579 #3134A9 #4C4FCB #7B7ED9 #ABACE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4FCB#FFFFFF#000000##FFFFFF
##4C4FCB1.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)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4fcb;
/* rgb */ color: rgb(76, 79, 203);
/* oklch */ color: oklch(50.0% 0.188 276.2);
Tailwind
colors: {
  custom: {
    50: '#8b80dc',
    500: '#4c4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fcb;
$custom-light: #8b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fcb",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 238.583,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.18786,
    "h": 276.2
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#4C4FCB
secondary
#D4D39F
accent
#DB49DE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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