#4D45D5#4D45D5

#4D45D5 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.212 H 277.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4D45D5
RGBrgb(77, 69, 213)
HSLhsl(243, 63%, 55%)
HSVhsv(243, 68%, 84%)
CMYKcmyk(63.8%, 67.6%, 0%, 16.5%)
CIE-LABlab(38.96, 45.88, -72.85)
CIE-LCHlch(38.96, 86.09, 302.20°)
OKLaboklab(49.32% 0.0284 -0.2102)
OKLCHoklch(49.32% 0.212 277.7)
XYZxyz(17.1950, 10.6367, 64.0848)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45D5 #CDD545
analogous
#4585D5 #4D45D5 #9545D5
triadic
#4D45D5 #D54D45 #45D54D
tetradic
#4D45D5 #D54585 #CDD545 #45D595
square
#4D45D5 #D54585 #CDD545 #45D595
split-complementary
#4D45D5 #D59545 #85D545
monochromatic
#231D82 #3029B4 #4D45D5 #7D77E0 #ADA9EC

Accessibility & contrast

On white

6.71
#4D45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D45D5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45D5#FFFFFF#000000##FFFFFF
##4D45D51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d45d5;
/* rgb */ color: rgb(77, 69, 213);
/* oklch */ color: oklch(49.3% 0.212 277.7);
Tailwind
colors: {
  custom: {
    50: '#8e7ae3',
    500: '#4d45d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d45d5;
$custom-light: #8e7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45d5",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 243.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.21207,
    "h": 277.7
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#4D45D5
secondary
#D6D99D
accent
#E642DD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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