#4D45BD#4D45BD

#4D45BD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.182 H 279.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4D45BD
RGBrgb(77, 69, 189)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 63%, 74%)
CMYKcmyk(59.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(36.94, 38.17, -62.20)
CIE-LCHlch(36.94, 72.98, 301.53°)
OKLaboklab(47.23% 0.031 -0.1789)
OKLCHoklch(47.23% 0.182 279.8)
XYZxyz(14.3711, 9.5071, 49.2120)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45BD #B5BD45
analogous
#4579BD #4D45BD #8945BD
triadic
#4D45BD #BD4D45 #45BD4D
tetradic
#4D45BD #BD4579 #B5BD45 #45BD89
square
#4D45BD #BD4579 #B5BD45 #45BD89
split-complementary
#4D45BD #BD8945 #79BD45
monochromatic
#282464 #3A3491 #4D45BD #7872CD #A39FDD

Accessibility & contrast

On white

7.24
#4D45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4D45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45BD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45BD#FFFFFF#000000##FFFFFF
##4D45BD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d45bd;
/* rgb */ color: rgb(77, 69, 189);
/* oklch */ color: oklch(47.2% 0.182 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a79d2',
    500: '#4d45bd',
    950: '#000000',
  },
}
SCSS
$custom: #4d45bd;
$custom-light: #8a79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45bd",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 244,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.18162,
    "h": 279.8
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#4D45BD
secondary
#C6CA94
accent
#D751CE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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