#4D45C8#4D45C8

#4D45C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.196 H 278.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4D45C8
RGBrgb(77, 69, 200)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 66%, 78%)
CMYKcmyk(61.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.85, 41.72, -67.15)
CIE-LCHlch(37.85, 79.05, 301.85°)
OKLaboklab(48.17% 0.03 -0.1935)
OKLCHoklch(48.17% 0.196 278.8)
XYZxyz(15.6107, 10.0030, 55.7405)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45C8 #C0C845
analogous
#457EC8 #4D45C8 #8E45C8
triadic
#4D45C8 #C84D45 #45C84D
tetradic
#4D45C8 #C8457E #C0C845 #45C88E
square
#4D45C8 #C8457E #C0C845 #45C88E
split-complementary
#4D45C8 #C88E45 #7EC845
monochromatic
#262171 #362FA0 #4D45C8 #7A74D6 #A7A3E4

Accessibility & contrast

On white

7.00
#4D45C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4D45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45C8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45C8#FFFFFF#000000##FFFFFF
##4D45C81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d45c8;
/* rgb */ color: rgb(77, 69, 200);
/* oklch */ color: oklch(48.2% 0.196 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c79da',
    500: '#4d45c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d45c8;
$custom-light: #8c79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45c8",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 243.664,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.19578,
    "h": 278.8
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#4D45C8
secondary
#CDD198
accent
#DE4AD5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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