#4D45E5#4D45E5

#4D45E5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.8% C 0.232 H 276.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4D45E5
RGBrgb(77, 69, 229)
HSLhsl(243, 75%, 58%)
HSVhsv(243, 70%, 90%)
CMYKcmyk(66.4%, 69.9%, 0%, 10.2%)
CIE-LABlab(40.39, 50.95, -79.65)
CIE-LCHlch(40.39, 94.55, 302.61°)
OKLaboklab(50.78% 0.0261 -0.23)
OKLCHoklch(50.78% 0.232 276.5)
XYZxyz(19.3269, 11.4895, 75.3127)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45E5 #DDE545
analogous
#458DE5 #4D45E5 #9D45E5
triadic
#4D45E5 #E54D45 #45E54D
tetradic
#4D45E5 #E5458D #DDE545 #45E59D
square
#4D45E5 #E5458D #DDE545 #45E59D
split-complementary
#4D45E5 #E59D45 #8DE545
monochromatic
#1C169A #261DD0 #4D45E5 #807BED #B4B0F4

Accessibility & contrast

On white

6.37
#4D45E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D45E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45E5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45E5#FFFFFF#000000##FFFFFF
##4D45E51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EA
Deuteranopia (green-blind)
#0058E2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d45e5;
/* rgb */ color: rgb(77, 69, 229);
/* oklch */ color: oklch(50.8% 0.232 276.5);
Tailwind
colors: {
  custom: {
    50: '#917aef',
    500: '#4d45e5',
    950: '#000000',
  },
}
SCSS
$custom: #4d45e5;
$custom-light: #917aef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45e5",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 243,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.23152,
    "h": 276.5
  },
  "luminance": 0.11491
}

Semantic roles & 50–950 ramp

primary
#4D45E5
secondary
#DFE3A3
accent
#F236E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4D45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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