#4D45E1#4D45E1

#4D45E1 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.227 H 276.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4D45E1
RGBrgb(77, 69, 225)
HSLhsl(243, 72%, 58%)
HSVhsv(243, 69%, 88%)
CMYKcmyk(65.8%, 69.3%, 0%, 11.8%)
CIE-LABlab(40.03, 49.69, -77.97)
CIE-LCHlch(40.03, 92.45, 302.51°)
OKLaboklab(50.41% 0.0267 -0.2251)
OKLCHoklch(50.41% 0.227 276.8)
XYZxyz(18.7749, 11.2686, 72.4052)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45E1 #D9E145
analogous
#458BE1 #4D45E1 #9B45E1
triadic
#4D45E1 #E14D45 #45E14D
tetradic
#4D45E1 #E1458B #D9E145 #45E19B
square
#4D45E1 #E1458B #D9E145 #45E19B
split-complementary
#4D45E1 #E19B45 #8BE145
monochromatic
#1E1894 #2920C8 #4D45E1 #7F7AE9 #B2AEF2

Accessibility & contrast

On white

6.45
#4D45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D45E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45E1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45E1#FFFFFF#000000##FFFFFF
##4D45E11.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#0058DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d45e1;
/* rgb */ color: rgb(77, 69, 225);
/* oklch */ color: oklch(50.4% 0.227 276.8);
Tailwind
colors: {
  custom: {
    50: '#917aec',
    500: '#4d45e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d45e1;
$custom-light: #917aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45e1",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 243.077,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.22672,
    "h": 276.8
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#4D45E1
secondary
#DDE0A2
accent
#EF39E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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