#4D48CC#4D48CC

#4D48CC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.0% C 0.197 H 277.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4D48CC
RGBrgb(77, 72, 204)
HSLhsl(242, 56%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(62.3%, 64.7%, 0%, 20%)
CIE-LABlab(38.85, 41.23, -67.84)
CIE-LCHlch(38.85, 79.38, 301.29°)
OKLaboklab(49% 0.0272 -0.1955)
OKLCHoklch(49% 0.197 277.9)
XYZxyz(16.2735, 10.5709, 58.2978)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48CC #C7CC48
analogous
#4885CC #4D48CC #8F48CC
triadic
#4D48CC #CC4D48 #48CC4D
tetradic
#4D48CC #CC4885 #C7CC48 #48CC8F
square
#4D48CC #CC4885 #C7CC48 #48CC8F
split-complementary
#4D48CC #CC8F48 #85CC48
monochromatic
#252178 #332FA8 #4D48CC #7C78D9 #AAA8E7

Accessibility & contrast

On white

6.74
#4D48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48CC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48CC#FFFFFF#000000##FFFFFF
##4D48CC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d48cc;
/* rgb */ color: rgb(77, 72, 204);
/* oklch */ color: oklch(49.0% 0.197 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d7cdd',
    500: '#4d48cc',
    950: '#000000',
  },
}
SCSS
$custom: #4d48cc;
$custom-light: #8d7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48cc",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 242.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.19736,
    "h": 277.9
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#4D48CC
secondary
#D2D49C
accent
#E048DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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