#4D4FBA#4D4FBA

#4D4FBA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.165 H 277.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4D4FBA
RGBrgb(77, 79, 186)
HSLhsl(239, 44%, 52%)
HSVhsv(239, 59%, 73%)
CMYKcmyk(58.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(39.09, 31.01, -56.95)
CIE-LCHlch(39.09, 64.84, 298.57°)
OKLaboklab(48.74% 0.0217 -0.1634)
OKLCHoklch(48.74% 0.165 277.6)
XYZxyz(14.7166, 10.7139, 47.7373)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FBA #BAB84D
analogous
#4D86BA #4D4FBA #824DBA
triadic
#4D4FBA #BA4D4F #4FBA4D
tetradic
#4D4FBA #BA4D86 #BAB84D #4DBA82
square
#4D4FBA #BA4D86 #BAB84D #4DBA82
split-complementary
#4D4FBA #BA824D #86BA4D
monochromatic
#272865 #383A91 #4D4FBA #797BCB #A5A6DC

Accessibility & contrast

On white

6.68
#4D4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4D4FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FBA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FBA#FFFFFF#000000##FFFFFF
##4D4FBA1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d4fba;
/* rgb */ color: rgb(77, 79, 186);
/* oklch */ color: oklch(48.7% 0.165 277.6);
Tailwind
colors: {
  custom: {
    50: '#8980cf',
    500: '#4d4fba',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fba;
$custom-light: #8980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fba",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 238.899,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48739,
    "c": 0.16486,
    "h": 277.6
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#4D4FBA
secondary
#C9C899
accent
#D254D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4D4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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