#4D4FBE#4D4FBE

#4D4FBE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.170 H 277.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4D4FBE
RGBrgb(77, 79, 190)
HSLhsl(239, 47%, 52%)
HSVhsv(239, 59%, 75%)
CMYKcmyk(59.5%, 58.4%, 0%, 25.5%)
CIE-LABlab(39.39, 32.34, -58.81)
CIE-LCHlch(39.39, 67.12, 298.81°)
OKLaboklab(49.05% 0.0217 -0.1689)
OKLCHoklch(49.05% 0.17 277.3)
XYZxyz(15.1478, 10.8863, 50.0083)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FBE #BEBC4D
analogous
#4D88BE #4D4FBE #844DBE
triadic
#4D4FBE #BE4D4F #4FBE4D
tetradic
#4D4FBE #BE4D88 #BEBC4D #4DBE84
square
#4D4FBE #BE4D88 #BEBC4D #4DBE84
split-complementary
#4D4FBE #BE844D #88BE4D
monochromatic
#27286A #373997 #4D4FBE #7A7BCE #A7A8DF

Accessibility & contrast

On white

6.61
#4D4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4D4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FBE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FBE#FFFFFF#000000##FFFFFF
##4D4FBE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4fbe;
/* rgb */ color: rgb(77, 79, 190);
/* oklch */ color: oklch(49.0% 0.170 277.3);
Tailwind
colors: {
  custom: {
    50: '#8a80d2',
    500: '#4d4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fbe;
$custom-light: #8a80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fbe",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 238.938,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.1703,
    "h": 277.3
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#4D4FBE
secondary
#CCCB9B
accent
#D452D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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