#4945BD#4945BD

#4945BD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.182 H 278.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4945BD
RGBrgb(73, 69, 189)
HSLhsl(242, 48%, 51%)
HSVhsv(242, 63%, 74%)
CMYKcmyk(61.4%, 63.5%, 0%, 25.9%)
CIE-LABlab(36.64, 37.52, -62.71)
CIE-LCHlch(36.64, 73.08, 300.89°)
OKLaboklab(46.93% 0.026 -0.1805)
OKLCHoklch(46.93% 0.182 278.2)
XYZxyz(14.0581, 9.3458, 49.1973)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945BD #B9BD45
analogous
#457DBD #4945BD #8545BD
triadic
#4945BD #BD4945 #45BD49
tetradic
#4945BD #BD457D #B9BD45 #45BD85
square
#4945BD #BD457D #B9BD45 #45BD85
split-complementary
#4945BD #BD8545 #7DBD45
monochromatic
#262464 #373491 #4945BD #7572CD #A19FDD

Accessibility & contrast

On white

7.32
#4945BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4945BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945BD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945BD#FFFFFF#000000##FFFFFF
##4945BD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4945bd;
/* rgb */ color: rgb(73, 69, 189);
/* oklch */ color: oklch(46.9% 0.182 278.2);
Tailwind
colors: {
  custom: {
    50: '#8879d2',
    500: '#4945bd',
    950: '#000000',
  },
}
SCSS
$custom: #4945bd;
$custom-light: #8879d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4945bd",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 242,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.18241,
    "h": 278.2
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#4945BD
secondary
#C8CA94
accent
#D751D3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4945BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4945BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva