#4C4FCA#4C4FCA

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

Color values

HEX#4C4FCA
RGBrgb(76, 79, 202)
HSLhsl(239, 54%, 55%)
HSVhsv(239, 62%, 79%)
CMYKcmyk(62.4%, 60.9%, 0%, 20.8%)
CIE-LABlab(40.23, 36.17, -64.42)
CIE-LCHlch(40.23, 73.88, 299.31°)
OKLaboklab(49.94% 0.0202 -0.1854)
OKLCHoklch(49.94% 0.187 276.2)
XYZxyz(16.4337, 11.3914, 57.1984)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FCA #CAC74C
analogous
#4C8ECA #4C4FCA #884CCA
triadic
#4C4FCA #CA4C4F #4FCA4C
tetradic
#4C4FCA #CA4C8E #CAC74C #4CCA88
square
#4C4FCA #CA4C8E #CAC74C #4CCA88
split-complementary
#4C4FCA #CA884C #8ECA4C
monochromatic
#242678 #3234A7 #4C4FCA #7B7DD8 #AAACE6

Accessibility & contrast

On white

6.41
#4C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4C4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FCA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FCA#FFFFFF#000000##FFFFFF
##4C4FCA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4fca;
/* rgb */ color: rgb(76, 79, 202);
/* oklch */ color: oklch(49.9% 0.187 276.2);
Tailwind
colors: {
  custom: {
    50: '#8b80db',
    500: '#4c4fca',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fca;
$custom-light: #8b80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fca",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 238.571,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.18654,
    "h": 276.2
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#4C4FCA
secondary
#D4D29E
accent
#DA4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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