#4D48DB#4D48DB

#4D48DB is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.216 H 276.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D48DB
RGBrgb(77, 72, 219)
HSLhsl(242, 67%, 57%)
HSVhsv(242, 67%, 86%)
CMYKcmyk(64.8%, 67.1%, 0%, 14.1%)
CIE-LABlab(40.12, 46.07, -74.39)
CIE-LCHlch(40.12, 87.50, 301.77°)
OKLaboklab(50.31% 0.0255 -0.2147)
OKLCHoklch(50.31% 0.216 276.8)
XYZxyz(18.1600, 11.3254, 68.2331)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48DB #D6DB48
analogous
#488DDB #4D48DB #9748DB
triadic
#4D48DB #DB4D48 #48DB4D
tetradic
#4D48DB #DB488D #D6DB48 #48DB97
square
#4D48DB #DB488D #D6DB48 #48DB97
split-complementary
#4D48DB #DB9748 #8DDB48
monochromatic
#201C8D #2B26C0 #4D48DB #7F7BE5 #B0AEEF

Accessibility & contrast

On white

6.43
#4D48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48DB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48DB#FFFFFF#000000##FFFFFF
##4D48DB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d48db;
/* rgb */ color: rgb(77, 72, 219);
/* oklch */ color: oklch(50.3% 0.216 276.8);
Tailwind
colors: {
  custom: {
    50: '#8f7ce7',
    500: '#4d48db',
    950: '#000000',
  },
}
SCSS
$custom: #4d48db;
$custom-light: #8f7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48db",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 242.041,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.21617,
    "h": 276.8
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#4D48DB
secondary
#DBDDA2
accent
#EA3EE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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