#4D4BB2#4D4BB2

#4D4BB2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.159 H 279.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4D4BB2
RGBrgb(77, 75, 178)
HSLhsl(241, 41%, 50%)
HSVhsv(241, 58%, 70%)
CMYKcmyk(56.7%, 57.9%, 0%, 30.2%)
CIE-LABlab(37.52, 30.88, -54.78)
CIE-LCHlch(37.52, 62.88, 299.41°)
OKLaboklab(47.39% 0.0257 -0.1571)
OKLCHoklch(47.39% 0.159 279.3)
XYZxyz(13.6100, 9.8234, 43.2898)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4BB2 #B0B24B
analogous
#4B7DB2 #4D4BB2 #814BB2
triadic
#4D4BB2 #B24D4B #4BB24D
tetradic
#4D4BB2 #B24B7D #B0B24B #4BB281
square
#4D4BB2 #B24B7D #B0B24B #4BB281
split-complementary
#4D4BB2 #B2814B #7DB24B
monochromatic
#28275C #3A3987 #4D4BB2 #7775C5 #A1A0D7

Accessibility & contrast

On white

7.08
#4D4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D4BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4BB2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4BB2#FFFFFF#000000##FFFFFF
##4D4BB21.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#166377
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4bb2;
/* rgb */ color: rgb(77, 75, 178);
/* oklch */ color: oklch(47.4% 0.159 279.3);
Tailwind
colors: {
  custom: {
    50: '#887dca',
    500: '#4d4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4bb2;
$custom-light: #887dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4bb2",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 241.165,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.15919,
    "h": 279.3
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#4D4BB2
secondary
#C3C495
accent
#D157CE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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