#4D4FBF#4D4FBF

#4D4FBF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.172 H 277.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4D4FBF
RGBrgb(77, 79, 191)
HSLhsl(239, 47%, 53%)
HSVhsv(239, 60%, 75%)
CMYKcmyk(59.7%, 58.6%, 0%, 25.1%)
CIE-LABlab(39.46, 32.68, -59.28)
CIE-LCHlch(39.46, 67.68, 298.87°)
OKLaboklab(49.13% 0.0217 -0.1703)
OKLCHoklch(49.13% 0.172 277.2)
XYZxyz(15.2575, 10.9302, 50.5858)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FBF #BFBD4D
analogous
#4D88BF #4D4FBF #844DBF
triadic
#4D4FBF #BF4D4F #4FBF4D
tetradic
#4D4FBF #BF4D88 #BFBD4D #4DBF84
square
#4D4FBF #BF4D88 #BFBD4D #4DBF84
split-complementary
#4D4FBF #BF844D #88BF4D
monochromatic
#27286B #373898 #4D4FBF #7A7CCF #A7A8DF

Accessibility & contrast

On white

6.59
#4D4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FBF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FBF#FFFFFF#000000##FFFFFF
##4D4FBF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4fbf;
/* rgb */ color: rgb(77, 79, 191);
/* oklch */ color: oklch(49.1% 0.172 277.2);
Tailwind
colors: {
  custom: {
    50: '#8a80d3',
    500: '#4d4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fbf;
$custom-light: #8a80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fbf",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 238.947,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.17165,
    "h": 277.2
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#4D4FBF
secondary
#CDCC9B
accent
#D451D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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