#4D45E2#4D45E2

#4D45E2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.228 H 276.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D45E2
RGBrgb(77, 69, 226)
HSLhsl(243, 73%, 58%)
HSVhsv(243, 69%, 89%)
CMYKcmyk(65.9%, 69.5%, 0%, 11.4%)
CIE-LABlab(40.12, 50.00, -78.39)
CIE-LCHlch(40.12, 92.98, 302.53°)
OKLaboklab(50.5% 0.0266 -0.2264)
OKLCHoklch(50.5% 0.228 276.7)
XYZxyz(18.9117, 11.3234, 73.1258)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45E2 #DAE245
analogous
#458CE2 #4D45E2 #9B45E2
triadic
#4D45E2 #E24D45 #45E24D
tetradic
#4D45E2 #E2458C #DAE245 #45E29B
square
#4D45E2 #E2458C #DAE245 #45E29B
split-complementary
#4D45E2 #E29B45 #8CE245
monochromatic
#1E1795 #2820CA #4D45E2 #807AEA #B2AFF3

Accessibility & contrast

On white

6.43
#4D45E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D45E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45E2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45E2#FFFFFF#000000##FFFFFF
##4D45E21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d45e2;
/* rgb */ color: rgb(77, 69, 226);
/* oklch */ color: oklch(50.5% 0.228 276.7);
Tailwind
colors: {
  custom: {
    50: '#917aec',
    500: '#4d45e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d45e2;
$custom-light: #917aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45e2",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 243.057,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.505,
    "c": 0.22792,
    "h": 276.7
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#4D45E2
secondary
#DEE1A2
accent
#F038E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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