#4D45BA#4D45BA

#4D45BA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.178 H 280.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4D45BA
RGBrgb(77, 69, 186)
HSLhsl(244, 46%, 50%)
HSVhsv(244, 63%, 73%)
CMYKcmyk(58.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(36.70, 37.20, -60.83)
CIE-LCHlch(36.70, 71.31, 301.45°)
OKLaboklab(46.98% 0.0313 -0.1749)
OKLCHoklch(46.98% 0.178 280.1)
XYZxyz(14.0488, 9.3782, 47.5147)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45BA #B2BA45
analogous
#4577BA #4D45BA #8845BA
triadic
#4D45BA #BA4D45 #45BA4D
tetradic
#4D45BA #BA4577 #B2BA45 #45BA88
square
#4D45BA #BA4577 #B2BA45 #45BA88
split-complementary
#4D45BA #BA8845 #77BA45
monochromatic
#282461 #3B348D #4D45BA #7872CB #A29EDB

Accessibility & contrast

On white

7.30
#4D45BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D45BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45BA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45BA#FFFFFF#000000##FFFFFF
##4D45BA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#036279
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d45ba;
/* rgb */ color: rgb(77, 69, 186);
/* oklch */ color: oklch(47.0% 0.178 280.1);
Tailwind
colors: {
  custom: {
    50: '#8a79d0',
    500: '#4d45ba',
    950: '#000000',
  },
}
SCSS
$custom: #4d45ba;
$custom-light: #8a79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45ba",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 244.103,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.46977,
    "c": 0.1777,
    "h": 280.1
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#4D45BA
secondary
#C4C893
accent
#D652CD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D45BA

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

Preview Lab → · Contrast checker → · Palette generator →

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