#4C4FDF#4C4FDF

#4C4FDF is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.214 H 275.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4C4FDF
RGBrgb(76, 79, 223)
HSLhsl(239, 70%, 59%)
HSVhsv(239, 66%, 87%)
CMYKcmyk(65.9%, 64.6%, 0%, 12.5%)
CIE-LABlab(41.93, 43.13, -73.71)
CIE-LCHlch(41.93, 85.40, 300.33°)
OKLaboklab(51.71% 0.0189 -0.2127)
OKLCHoklch(51.71% 0.214 275.1)
XYZxyz(19.0914, 12.4545, 71.1956)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FDF #DFDC4C
analogous
#4C98DF #4C4FDF #934CDF
triadic
#4C4FDF #DF4C4F #4FDF4C
tetradic
#4C4FDF #DF4C98 #DFDC4C #4CDF93
square
#4C4FDF #DF4C98 #DFDC4C #4CDF93
split-complementary
#4C4FDF #DF934C #98DF4C
monochromatic
#1B1D96 #2427CA #4C4FDF #8082E8 #B4B5F2

Accessibility & contrast

On white

6.02
#4C4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4C4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FDF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FDF#FFFFFF#000000##FFFFFF
##4C4FDF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4fdf;
/* rgb */ color: rgb(76, 79, 223);
/* oklch */ color: oklch(51.7% 0.214 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f81ea',
    500: '#4c4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fdf;
$custom-light: #8f81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fdf",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 238.776,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.21354,
    "h": 275.1
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#4C4FDF
secondary
#E0DFA6
accent
#E93BEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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