#4D45C7#4D45C7

#4D45C7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.195 H 278.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4D45C7
RGBrgb(77, 69, 199)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 65%, 78%)
CMYKcmyk(61.3%, 65.3%, 0%, 22%)
CIE-LABlab(37.76, 41.40, -66.71)
CIE-LCHlch(37.76, 78.51, 301.82°)
OKLaboklab(48.08% 0.0301 -0.1922)
OKLCHoklch(48.08% 0.195 278.9)
XYZxyz(15.4942, 9.9564, 55.1270)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45C7 #BFC745
analogous
#457EC7 #4D45C7 #8E45C7
triadic
#4D45C7 #C74D45 #45C74D
tetradic
#4D45C7 #C7457E #BFC745 #45C78E
square
#4D45C7 #C7457E #BFC745 #45C78E
split-complementary
#4D45C7 #C78E45 #7EC745
monochromatic
#272270 #37309F #4D45C7 #7A74D5 #A7A3E3

Accessibility & contrast

On white

7.02
#4D45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4D45C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45C7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45C7#FFFFFF#000000##FFFFFF
##4D45C71.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d45c7;
/* rgb */ color: rgb(77, 69, 199);
/* oklch */ color: oklch(48.1% 0.195 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c79d9',
    500: '#4d45c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d45c7;
$custom-light: #8c79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45c7",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 243.692,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4808,
    "c": 0.19451,
    "h": 278.9
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#4D45C7
secondary
#CDD098
accent
#DD4BD4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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