#4D45D2#4D45D2

#4D45D2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.208 H 278.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4D45D2
RGBrgb(77, 69, 210)
HSLhsl(243, 61%, 55%)
HSVhsv(243, 67%, 82%)
CMYKcmyk(63.3%, 67.1%, 0%, 17.6%)
CIE-LABlab(38.70, 44.92, -71.55)
CIE-LCHlch(38.70, 84.48, 302.13°)
OKLaboklab(49.05% 0.0288 -0.2063)
OKLCHoklch(49.05% 0.208 278)
XYZxyz(16.8178, 10.4858, 62.0980)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45D2 #CAD245
analogous
#4584D2 #4D45D2 #9345D2
triadic
#4D45D2 #D24D45 #45D24D
tetradic
#4D45D2 #D24584 #CAD245 #45D293
square
#4D45D2 #D24584 #CAD245 #45D293
split-complementary
#4D45D2 #D29345 #84D245
monochromatic
#241F7E #322AAF #4D45D2 #7C76DE #ABA8EA

Accessibility & contrast

On white

6.78
#4D45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4D45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45D2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45D2#FFFFFF#000000##FFFFFF
##4D45D21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d45d2;
/* rgb */ color: rgb(77, 69, 210);
/* oklch */ color: oklch(49.0% 0.208 278.0);
Tailwind
colors: {
  custom: {
    50: '#8e7ae1',
    500: '#4d45d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d45d2;
$custom-light: #8e7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45d2",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 243.404,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.20835,
    "h": 278
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#4D45D2
secondary
#D4D79C
accent
#E444DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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