#4D4FCA#4D4FCA

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

Color values

HEX#4D4FCA
RGBrgb(77, 79, 202)
HSLhsl(239, 54%, 55%)
HSVhsv(239, 62%, 79%)
CMYKcmyk(61.9%, 60.9%, 0%, 20.8%)
CIE-LABlab(40.30, 36.33, -64.31)
CIE-LCHlch(40.30, 73.86, 299.46°)
OKLaboklab(50.01% 0.0214 -0.1851)
OKLCHoklch(50.01% 0.186 276.6)
XYZxyz(16.5138, 11.4327, 57.2022)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FCA #CAC84D
analogous
#4D8ECA #4D4FCA #8A4DCA
triadic
#4D4FCA #CA4D4F #4FCA4D
tetradic
#4D4FCA #CA4D8E #CAC84D #4DCA8A
square
#4D4FCA #CA4D8E #CAC84D #4DCA8A
split-complementary
#4D4FCA #CA8A4D #8ECA4D
monochromatic
#242579 #3234A8 #4D4FCA #7C7ED8 #ABACE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4FCA#FFFFFF#000000##FFFFFF
##4D4FCA1.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)
#0064CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4fca;
/* rgb */ color: rgb(77, 79, 202);
/* oklch */ color: oklch(50.0% 0.186 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c80db',
    500: '#4d4fca',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fca;
$custom-light: #8c80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fca",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 239.04,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.18631,
    "h": 276.6
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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