#4D45C9#4D45C9

#4D45C9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.197 H 278.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4D45C9
RGBrgb(77, 69, 201)
HSLhsl(244, 55%, 53%)
HSVhsv(244, 66%, 79%)
CMYKcmyk(61.7%, 65.7%, 0%, 21.2%)
CIE-LABlab(37.93, 42.04, -67.60)
CIE-LCHlch(37.93, 79.60, 301.88°)
OKLaboklab(48.25% 0.0299 -0.1948)
OKLCHoklch(48.25% 0.197 278.7)
XYZxyz(15.7279, 10.0499, 56.3580)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45C9 #C1C945
analogous
#457FC9 #4D45C9 #8F45C9
triadic
#4D45C9 #C94D45 #45C94D
tetradic
#4D45C9 #C9457F #C1C945 #45C98F
square
#4D45C9 #C9457F #C1C945 #45C98F
split-complementary
#4D45C9 #C98F45 #7FC945
monochromatic
#262172 #362FA2 #4D45C9 #7A74D7 #A8A4E5

Accessibility & contrast

On white

6.98
#4D45C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4D45C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45C9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45C9#FFFFFF#000000##FFFFFF
##4D45C91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d45c9;
/* rgb */ color: rgb(77, 69, 201);
/* oklch */ color: oklch(48.3% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c79da',
    500: '#4d45c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d45c9;
$custom-light: #8c79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45c9",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 243.636,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.19705,
    "h": 278.7
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#4D45C9
secondary
#CED198
accent
#DE49D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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