#4D48CD#4D48CD

#4D48CD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.1% C 0.199 H 277.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4D48CD
RGBrgb(77, 72, 205)
HSLhsl(242, 57%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(62.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(38.93, 41.55, -68.28)
CIE-LCHlch(38.93, 79.93, 301.32°)
OKLaboklab(49.08% 0.0271 -0.1968)
OKLCHoklch(49.08% 0.199 277.8)
XYZxyz(16.3938, 10.6190, 58.9315)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48CD #C8CD48
analogous
#4885CD #4D48CD #9048CD
triadic
#4D48CD #CD4D48 #48CD4D
tetradic
#4D48CD #CD4885 #C8CD48 #48CD90
square
#4D48CD #CD4885 #C8CD48 #48CD90
split-complementary
#4D48CD #CD9048 #85CD48
monochromatic
#242179 #332EA9 #4D48CD #7C78DA #ABA8E7

Accessibility & contrast

On white

6.72
#4D48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4D48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48CD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48CD#FFFFFF#000000##FFFFFF
##4D48CD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d48cd;
/* rgb */ color: rgb(77, 72, 205);
/* oklch */ color: oklch(49.1% 0.199 277.8);
Tailwind
colors: {
  custom: {
    50: '#8d7cdd',
    500: '#4d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d48cd;
$custom-light: #8d7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48cd",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 242.256,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.19862,
    "h": 277.8
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#4D48CD
secondary
#D2D59C
accent
#E047DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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