#4D45BC#4D45BC

#4D45BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.180 H 279.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4D45BC
RGBrgb(77, 69, 188)
HSLhsl(244, 47%, 50%)
HSVhsv(244, 63%, 74%)
CMYKcmyk(59%, 63.3%, 0%, 26.3%)
CIE-LABlab(36.86, 37.85, -61.75)
CIE-LCHlch(36.86, 72.42, 301.50°)
OKLaboklab(47.14% 0.0311 -0.1776)
OKLCHoklch(47.14% 0.18 279.9)
XYZxyz(14.2629, 9.4639, 48.6423)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45BC #B4BC45
analogous
#4578BC #4D45BC #8945BC
triadic
#4D45BC #BC4D45 #45BC4D
tetradic
#4D45BC #BC4578 #B4BC45 #45BC89
square
#4D45BC #BC4578 #B4BC45 #45BC89
split-complementary
#4D45BC #BC8945 #78BC45
monochromatic
#282463 #3A3490 #4D45BC #7872CC #A39FDC

Accessibility & contrast

On white

7.26
#4D45BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D45BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45BC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45BC#FFFFFF#000000##FFFFFF
##4D45BC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d45bc;
/* rgb */ color: rgb(77, 69, 188);
/* oklch */ color: oklch(47.1% 0.180 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a79d1',
    500: '#4d45bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d45bc;
$custom-light: #8a79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45bc",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 244.034,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47144,
    "c": 0.18031,
    "h": 279.9
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#4D45BC
secondary
#C5C994
accent
#D751CE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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