#4D45E9#4D45E9

#4D45E9 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.236 H 276.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4D45E9
RGBrgb(77, 69, 233)
HSLhsl(243, 79%, 59%)
HSVhsv(243, 70%, 91%)
CMYKcmyk(67%, 70.4%, 0%, 8.6%)
CIE-LABlab(40.76, 52.20, -81.31)
CIE-LCHlch(40.76, 96.63, 302.70°)
OKLaboklab(51.15% 0.0254 -0.2349)
OKLCHoklch(51.15% 0.236 276.2)
XYZxyz(19.8919, 11.7154, 78.2880)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45E9 #E1E945
analogous
#458FE9 #4D45E9 #9F45E9
triadic
#4D45E9 #E94D45 #45E94D
tetradic
#4D45E9 #E9458F #E1E945 #45E99F
square
#4D45E9 #E9458F #E1E945 #45E99F
split-complementary
#4D45E9 #E99F45 #8FE945
monochromatic
#1A13A1 #2319D7 #4D45E9 #817CEF #B6B2F6

Accessibility & contrast

On white

6.28
#4D45E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D45E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45E9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45E9#FFFFFF#000000##FFFFFF
##4D45E91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EE
Deuteranopia (green-blind)
#0059E6
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d45e9;
/* rgb */ color: rgb(77, 69, 233);
/* oklch */ color: oklch(51.2% 0.236 276.2);
Tailwind
colors: {
  custom: {
    50: '#927af1',
    500: '#4d45e9',
    950: '#000000',
  },
}
SCSS
$custom: #4d45e9;
$custom-light: #927af1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45e9",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 233
  },
  "hsl": {
    "h": 242.927,
    "s": 78.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.23629,
    "h": 276.2
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#4D45E9
secondary
#E2E5A5
accent
#F532EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4D45E9

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

Preview Lab → · Contrast checker → · Palette generator →

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