#4C4FDA#4C4FDA

#4C4FDA is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.3% C 0.207 H 275.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4C4FDA
RGBrgb(76, 79, 218)
HSLhsl(239, 66%, 58%)
HSVhsv(239, 65%, 85%)
CMYKcmyk(65.1%, 63.8%, 0%, 14.5%)
CIE-LABlab(41.51, 41.48, -71.54)
CIE-LCHlch(41.51, 82.69, 300.11°)
OKLaboklab(51.28% 0.0193 -0.2063)
OKLCHoklch(51.28% 0.207 275.3)
XYZxyz(18.4272, 12.1888, 67.6977)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FDA #DAD74C
analogous
#4C96DA #4C4FDA #904CDA
triadic
#4C4FDA #DA4C4F #4FDA4C
tetradic
#4C4FDA #DA4C96 #DAD74C #4CDA90
square
#4C4FDA #DA4C96 #DAD74C #4CDA90
split-complementary
#4C4FDA #DA904C #96DA4C
monochromatic
#1D208E #282BC1 #4C4FDA #7F81E4 #B1B3EF

Accessibility & contrast

On white

6.11
#4C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4C4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FDA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FDA#FFFFFF#000000##FFFFFF
##4C4FDA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4fda;
/* rgb */ color: rgb(76, 79, 218);
/* oklch */ color: oklch(51.3% 0.207 275.3);
Tailwind
colors: {
  custom: {
    50: '#8e81e7',
    500: '#4c4fda',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fda;
$custom-light: #8e81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fda",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 238.732,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.20722,
    "h": 275.3
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#4C4FDA
secondary
#DDDCA4
accent
#E53FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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