#4D45C2#4D45C2

#4D45C2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.188 H 279.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4D45C2
RGBrgb(77, 69, 194)
HSLhsl(244, 51%, 52%)
HSVhsv(244, 64%, 76%)
CMYKcmyk(60.3%, 64.4%, 0%, 23.9%)
CIE-LABlab(37.35, 39.78, -64.47)
CIE-LCHlch(37.35, 75.76, 301.68°)
OKLaboklab(47.65% 0.0306 -0.1856)
OKLCHoklch(47.65% 0.188 279.4)
XYZxyz(14.9232, 9.7280, 52.1198)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45C2 #BAC245
analogous
#457CC2 #4D45C2 #8C45C2
triadic
#4D45C2 #C24D45 #45C24D
tetradic
#4D45C2 #C2457C #BAC245 #45C28C
square
#4D45C2 #C2457C #BAC245 #45C28C
split-complementary
#4D45C2 #C28C45 #7CC245
monochromatic
#27236A #383298 #4D45C2 #7973D1 #A5A1E0

Accessibility & contrast

On white

7.13
#4D45C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4D45C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45C2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45C2#FFFFFF#000000##FFFFFF
##4D45C21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d45c2;
/* rgb */ color: rgb(77, 69, 194);
/* oklch */ color: oklch(47.7% 0.188 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b79d5',
    500: '#4d45c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d45c2;
$custom-light: #8b79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45c2",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 243.84,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.18811,
    "h": 279.4
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#4D45C2
secondary
#C9CD96
accent
#DA4ED1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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