#4D48BC#4D48BC

#4D48BC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.177 H 279.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4D48BC
RGBrgb(77, 72, 188)
HSLhsl(243, 46%, 51%)
HSVhsv(243, 62%, 74%)
CMYKcmyk(59%, 61.7%, 0%, 26.3%)
CIE-LABlab(37.56, 36.02, -60.62)
CIE-LCHlch(37.56, 70.51, 300.72°)
OKLaboklab(47.65% 0.0284 -0.1743)
OKLCHoklch(47.65% 0.177 279.2)
XYZxyz(14.4522, 9.8423, 48.7054)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48BC #B7BC48
analogous
#487DBC #4D48BC #8748BC
triadic
#4D48BC #BC4D48 #48BC4D
tetradic
#4D48BC #BC487D #B7BC48 #48BC87
square
#4D48BC #BC487D #B7BC48 #48BC87
split-complementary
#4D48BC #BC8748 #7DBC48
monochromatic
#282565 #393592 #4D48BC #7975CC #A4A2DD

Accessibility & contrast

On white

7.07
#4D48BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4D48BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D48BC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48BC#FFFFFF#000000##FFFFFF
##4D48BC1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d48bc;
/* rgb */ color: rgb(77, 72, 188);
/* oklch */ color: oklch(47.7% 0.177 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a7bd1',
    500: '#4d48bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d48bc;
$custom-light: #8a7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48bc",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 242.586,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.17656,
    "h": 279.2
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#4D48BC
secondary
#C7CA96
accent
#D652D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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