#4D48EF#4D48EF

#4D48EF is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.240 H 275.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4D48EF
RGBrgb(77, 72, 239)
HSLhsl(242, 84%, 61%)
HSVhsv(242, 70%, 94%)
CMYKcmyk(67.8%, 69.9%, 0%, 6.3%)
CIE-LABlab(41.91, 52.43, -82.81)
CIE-LCHlch(41.91, 98.01, 302.34°)
OKLaboklab(52.14% 0.0227 -0.2393)
OKLCHoklch(52.14% 0.24 275.4)
XYZxyz(20.9528, 12.4426, 82.9421)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48EF #EAEF48
analogous
#4897EF #4D48EF #A048EF
triadic
#4D48EF #EF4D48 #48EF4D
tetradic
#4D48EF #EF4897 #EAEF48 #48EFA0
square
#4D48EF #EF4897 #EAEF48 #48EFA0
split-complementary
#4D48EF #EFA048 #97EF48
monochromatic
#140FAD #1A14E6 #4D48EF #8480F4 #BAB9F9

Accessibility & contrast

On white

6.02
#4D48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4D48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48EF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48EF#FFFFFF#000000##FFFFFF
##4D48EF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF4
Deuteranopia (green-blind)
#005BEC
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d48ef;
/* rgb */ color: rgb(77, 72, 239);
/* oklch */ color: oklch(52.1% 0.240 275.4);
Tailwind
colors: {
  custom: {
    50: '#937df6',
    500: '#4d48ef',
    950: '#000000',
  },
}
SCSS
$custom: #4d48ef;
$custom-light: #937df6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48ef",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 241.796,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.24038,
    "h": 275.4
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#4D48EF
secondary
#E7E9AA
accent
#E005DA
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4D48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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