#4D45D8#4D45D8

#4D45D8 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.216 H 277.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D45D8
RGBrgb(77, 69, 216)
HSLhsl(243, 65%, 56%)
HSVhsv(243, 68%, 85%)
CMYKcmyk(64.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.23, 46.84, -74.14)
CIE-LCHlch(39.23, 87.69, 302.28°)
OKLaboklab(49.59% 0.028 -0.2139)
OKLCHoklch(49.59% 0.216 277.5)
XYZxyz(17.5793, 10.7904, 66.1088)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45D8 #D0D845
analogous
#4586D8 #4D45D8 #9645D8
triadic
#4D45D8 #D84D45 #45D84D
tetradic
#4D45D8 #D84586 #D0D845 #45D896
square
#4D45D8 #D84586 #D0D845 #45D896
split-complementary
#4D45D8 #D89645 #86D845
monochromatic
#221C86 #2F27B9 #4D45D8 #7D78E3 #AEAAED

Accessibility & contrast

On white

6.65
#4D45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45D8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45D8#FFFFFF#000000##FFFFFF
##4D45D81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0056D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d45d8;
/* rgb */ color: rgb(77, 69, 216);
/* oklch */ color: oklch(49.6% 0.216 277.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ae5',
    500: '#4d45d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d45d8;
$custom-light: #8f7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45d8",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 243.265,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.21577,
    "h": 277.5
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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