#4D4FE1#4D4FE1

#4D4FE1 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.216 H 275.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D4FE1
RGBrgb(77, 79, 225)
HSLhsl(239, 71%, 59%)
HSVhsv(239, 66%, 88%)
CMYKcmyk(65.8%, 64.9%, 0%, 11.8%)
CIE-LABlab(42.16, 43.91, -74.47)
CIE-LCHlch(42.16, 86.45, 300.53°)
OKLaboklab(51.95% 0.0198 -0.2149)
OKLCHoklch(51.95% 0.216 275.3)
XYZxyz(19.4427, 12.6043, 72.6278)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FE1 #E1DF4D
analogous
#4D99E1 #4D4FE1 #954DE1
triadic
#4D4FE1 #E14D4F #4FE14D
tetradic
#4D4FE1 #E14D99 #E1DF4D #4DE195
square
#4D4FE1 #E14D99 #E1DF4D #4DE195
split-complementary
#4D4FE1 #E1954D #99E14D
monochromatic
#1A1C9A #2325CE #4D4FE1 #8183EA #B6B7F3

Accessibility & contrast

On white

5.96
#4D4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4D4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FE1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FE1#FFFFFF#000000##FFFFFF
##4D4FE11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d4fe1;
/* rgb */ color: rgb(77, 79, 225);
/* oklch */ color: oklch(51.9% 0.216 275.3);
Tailwind
colors: {
  custom: {
    50: '#9081ec',
    500: '#4d4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fe1;
$custom-light: #9081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fe1",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 239.189,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.21581,
    "h": 275.3
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#4D4FE1
secondary
#E2E1A8
accent
#EB3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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