#4D45DC#4D45DC

#4D45DC is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.221 H 277.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4D45DC
RGBrgb(77, 69, 220)
HSLhsl(243, 68%, 57%)
HSVhsv(243, 69%, 86%)
CMYKcmyk(65%, 68.6%, 0%, 13.7%)
CIE-LABlab(39.58, 48.11, -75.85)
CIE-LCHlch(39.58, 89.82, 302.39°)
OKLaboklab(49.95% 0.0275 -0.2189)
OKLCHoklch(49.95% 0.221 277.1)
XYZxyz(18.1028, 10.9998, 68.8655)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45DC #D4DC45
analogous
#4589DC #4D45DC #9945DC
triadic
#4D45DC #DC4D45 #45DC4D
tetradic
#4D45DC #DC4589 #D4DC45 #45DC99
square
#4D45DC #DC4589 #D4DC45 #45DC99
split-complementary
#4D45DC #DC9945 #89DC45
monochromatic
#201A8C #2C24C0 #4D45DC #7E79E6 #B0ACEF

Accessibility & contrast

On white

6.56
#4D45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4D45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45DC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45DC#FFFFFF#000000##FFFFFF
##4D45DC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d45dc;
/* rgb */ color: rgb(77, 69, 220);
/* oklch */ color: oklch(49.9% 0.221 277.1);
Tailwind
colors: {
  custom: {
    50: '#907ae8',
    500: '#4d45dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d45dc;
$custom-light: #907ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45dc",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 243.179,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.22066,
    "h": 277.1
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#4D45DC
secondary
#DADDA0
accent
#EB3DE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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