#4D45D9#4D45D9

#4D45D9 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.217 H 277.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4D45D9
RGBrgb(77, 69, 217)
HSLhsl(243, 66%, 56%)
HSVhsv(243, 68%, 85%)
CMYKcmyk(64.5%, 68.2%, 0%, 14.9%)
CIE-LABlab(39.31, 47.16, -74.57)
CIE-LCHlch(39.31, 88.23, 302.31°)
OKLaboklab(49.68% 0.0279 -0.2152)
OKLCHoklch(49.68% 0.217 277.4)
XYZxyz(17.7090, 10.8423, 66.7917)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45D9 #D1D945
analogous
#4587D9 #4D45D9 #9745D9
triadic
#4D45D9 #D94D45 #45D94D
tetradic
#4D45D9 #D94587 #D1D945 #45D997
square
#4D45D9 #D94587 #D1D945 #45D997
split-complementary
#4D45D9 #D99745 #87D945
monochromatic
#221C88 #2E26BB #4D45D9 #7E78E3 #AEABEE

Accessibility & contrast

On white

6.63
#4D45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45D9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45D9#FFFFFF#000000##FFFFFF
##4D45D91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d45d9;
/* rgb */ color: rgb(77, 69, 217);
/* oklch */ color: oklch(49.7% 0.217 277.4);
Tailwind
colors: {
  custom: {
    50: '#8f7ae6',
    500: '#4d45d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d45d9;
$custom-light: #8f7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45d9",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 243.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.217,
    "h": 277.4
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#4D45D9
secondary
#D8DB9E
accent
#E93FE0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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