#4D48BB#4D48BB

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

Color values

HEX#4D48BB
RGBrgb(77, 72, 187)
HSLhsl(243, 46%, 51%)
HSVhsv(243, 61%, 73%)
CMYKcmyk(58.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(37.48, 35.69, -60.16)
CIE-LCHlch(37.48, 69.95, 300.68°)
OKLaboklab(47.57% 0.0284 -0.1729)
OKLCHoklch(47.57% 0.175 279.3)
XYZxyz(14.3447, 9.7994, 48.1396)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48BB #B6BB48
analogous
#487CBB #4D48BB #8648BB
triadic
#4D48BB #BB4D48 #48BB4D
tetradic
#4D48BB #BB487C #B6BB48 #48BB86
square
#4D48BB #BB487C #B6BB48 #48BB86
split-complementary
#4D48BB #BB8648 #7CBB48
monochromatic
#282564 #3A3690 #4D48BB #7875CC #A4A1DC

Accessibility & contrast

On white

7.09
#4D48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D48BB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48BB#FFFFFF#000000##FFFFFF
##4D48BB1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d48bb;
/* rgb */ color: rgb(77, 72, 187);
/* oklch */ color: oklch(47.6% 0.175 279.3);
Tailwind
colors: {
  custom: {
    50: '#8a7bd0',
    500: '#4d48bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d48bb;
$custom-light: #8a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48bb",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 242.609,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.17524,
    "h": 279.3
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#4D48BB
secondary
#C7C996
accent
#D552D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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