#4D48A2#4D48A2

#4D48A2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.141 H 281.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4D48A2
RGBrgb(77, 72, 162)
HSLhsl(243, 38%, 46%)
HSVhsv(243, 56%, 64%)
CMYKcmyk(52.5%, 55.6%, 0%, 36.5%)
CIE-LABlab(35.64, 27.55, -48.30)
CIE-LCHlch(35.64, 55.60, 299.70°)
OKLaboklab(45.63% 0.0287 -0.1381)
OKLCHoklch(45.63% 0.141 281.7)
XYZxyz(11.8975, 8.8205, 35.2510)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48A2 #9DA248
analogous
#4870A2 #4D48A2 #7A48A2
triadic
#4D48A2 #A24D48 #48A24D
tetradic
#4D48A2 #A24870 #9DA248 #48A27A
square
#4D48A2 #A24870 #9DA248 #48A27A
split-complementary
#4D48A2 #A27A48 #70A248
monochromatic
#25224D #393578 #4D48A2 #6F6ABD #9895D0

Accessibility & contrast

On white

7.60
#4D48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D48A2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48A2#FFFFFF#000000##FFFFFF
##4D48A21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#0251A0
Tritanopia (blue-blind)
#2A5C6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d48a2;
/* rgb */ color: rgb(77, 72, 162);
/* oklch */ color: oklch(45.6% 0.141 281.7);
Tailwind
colors: {
  custom: {
    50: '#867bbe',
    500: '#4d48a2',
    950: '#000000',
  },
}
SCSS
$custom: #4d48a2;
$custom-light: #867bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48a2",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 243.333,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.14101,
    "h": 281.7
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#4D48A2
secondary
#B9BC8A
accent
#CE59C8
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4D48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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