#4D48BD#4D48BD

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

Color values

HEX#4D48BD
RGBrgb(77, 72, 189)
HSLhsl(243, 47%, 51%)
HSVhsv(243, 62%, 74%)
CMYKcmyk(59.3%, 61.9%, 0%, 25.9%)
CIE-LABlab(37.64, 36.34, -61.07)
CIE-LCHlch(37.64, 71.07, 300.76°)
OKLaboklab(47.74% 0.0283 -0.1756)
OKLCHoklch(47.74% 0.178 279.2)
XYZxyz(14.5603, 9.8856, 49.2751)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48BD #B8BD48
analogous
#487DBD #4D48BD #8748BD
triadic
#4D48BD #BD4D48 #48BD4D
tetradic
#4D48BD #BD487D #B8BD48 #48BD87
square
#4D48BD #BD487D #B8BD48 #48BD87
split-complementary
#4D48BD #BD8748 #7DBD48
monochromatic
#282566 #393593 #4D48BD #7975CD #A4A2DD

Accessibility & contrast

On white

7.05
#4D48BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4D48BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D48BD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48BD#FFFFFF#000000##FFFFFF
##4D48BD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d48bd;
/* rgb */ color: rgb(77, 72, 189);
/* oklch */ color: oklch(47.7% 0.178 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a7bd2',
    500: '#4d48bd',
    950: '#000000',
  },
}
SCSS
$custom: #4d48bd;
$custom-light: #8a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48bd",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 242.564,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.17789,
    "h": 279.2
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#4D48BD
secondary
#C8CA97
accent
#D751D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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