#4D48CE#4D48CE

#4D48CE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.2% C 0.200 H 277.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4D48CE
RGBrgb(77, 72, 206)
HSLhsl(242, 58%, 55%)
HSVhsv(242, 65%, 81%)
CMYKcmyk(62.6%, 65%, 0%, 19.2%)
CIE-LABlab(39.01, 41.88, -68.72)
CIE-LCHlch(39.01, 80.48, 301.36°)
OKLaboklab(49.17% 0.027 -0.1981)
OKLCHoklch(49.17% 0.2 277.7)
XYZxyz(16.5149, 10.6674, 59.5693)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48CE #C9CE48
analogous
#4886CE #4D48CE #9048CE
triadic
#4D48CE #CE4D48 #48CE4D
tetradic
#4D48CE #CE4886 #C9CE48 #48CE90
square
#4D48CE #CE4886 #C9CE48 #48CE90
split-complementary
#4D48CE #CE9048 #86CE48
monochromatic
#24217B #322EAB #4D48CE #7C78DB #ABA9E8

Accessibility & contrast

On white

6.70
#4D48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4D48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48CE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48CE#FFFFFF#000000##FFFFFF
##4D48CE1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d48ce;
/* rgb */ color: rgb(77, 72, 206);
/* oklch */ color: oklch(49.2% 0.200 277.7);
Tailwind
colors: {
  custom: {
    50: '#8d7cde',
    500: '#4d48ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d48ce;
$custom-light: #8d7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48ce",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 242.239,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.1999,
    "h": 277.7
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#4D48CE
secondary
#D3D59D
accent
#E147DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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