#4D4FBC#4D4FBC

#4D4FBC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.168 H 277.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D4FBC
RGBrgb(77, 79, 188)
HSLhsl(239, 45%, 52%)
HSVhsv(239, 59%, 74%)
CMYKcmyk(59%, 58%, 0%, 26.3%)
CIE-LABlab(39.24, 31.68, -57.88)
CIE-LCHlch(39.24, 65.98, 298.69°)
OKLaboklab(48.89% 0.0217 -0.1662)
OKLCHoklch(48.89% 0.168 277.4)
XYZxyz(14.9307, 10.7995, 48.8649)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FBC #BCBA4D
analogous
#4D87BC #4D4FBC #834DBC
triadic
#4D4FBC #BC4D4F #4FBC4D
tetradic
#4D4FBC #BC4D87 #BCBA4D #4DBC83
square
#4D4FBC #BC4D87 #BCBA4D #4DBC83
split-complementary
#4D4FBC #BC834D #87BC4D
monochromatic
#272868 #383994 #4D4FBC #797BCD #A6A7DD

Accessibility & contrast

On white

6.65
#4D4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FBC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FBC#FFFFFF#000000##FFFFFF
##4D4FBC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d4fbc;
/* rgb */ color: rgb(77, 79, 188);
/* oklch */ color: oklch(48.9% 0.168 277.4);
Tailwind
colors: {
  custom: {
    50: '#8980d1',
    500: '#4d4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fbc;
$custom-light: #8980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fbc",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 238.919,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.16759,
    "h": 277.4
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#4D4FBC
secondary
#CBCA9A
accent
#D353D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4D4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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