#4D4DBB#4D4DBB

#4D4DBB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.169 H 278.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4D4DBB
RGBrgb(77, 77, 187)
HSLhsl(240, 45%, 52%)
HSVhsv(240, 59%, 73%)
CMYKcmyk(58.8%, 58.8%, 0%, 26.7%)
CIE-LABlab(38.68, 32.60, -58.21)
CIE-LCHlch(38.68, 66.72, 299.25°)
OKLaboklab(48.45% 0.0236 -0.1672)
OKLCHoklch(48.45% 0.169 278)
XYZxyz(14.6812, 10.4723, 48.2518)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DBB #BBBB4D
analogous
#4D84BB #4D4DBB #844DBB
triadic
#4D4DBB #BB4D4D #4DBB4D
tetradic
#4D4DBB #BB4D84 #BBBB4D #4DBB84
square
#4D4DBB #BB4D84 #BBBB4D #4DBB84
split-complementary
#4D4DBB #BB844D #84BB4D
monochromatic
#272766 #383893 #4D4DBB #7979CC #A6A6DD

Accessibility & contrast

On white

6.79
#4D4DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4D4DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DBB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DBB#FFFFFF#000000##FFFFFF
##4D4DBB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d4dbb;
/* rgb */ color: rgb(77, 77, 187);
/* oklch */ color: oklch(48.5% 0.169 278.0);
Tailwind
colors: {
  custom: {
    50: '#897fd0',
    500: '#4d4dbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dbb;
$custom-light: #897fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dbb",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.16882,
    "h": 278
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#4D4DBB
secondary
#CACA9A
accent
#D453D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4D4DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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