#4940BD#4940BD

#4940BD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.188 H 279.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4940BD
RGBrgb(73, 64, 189)
HSLhsl(244, 49%, 50%)
HSVhsv(244, 66%, 74%)
CMYKcmyk(61.4%, 66.1%, 0%, 25.9%)
CIE-LABlab(35.51, 40.53, -64.56)
CIE-LCHlch(35.51, 76.23, 302.12°)
OKLaboklab(46.11% 0.0302 -0.186)
OKLCHoklch(46.11% 0.188 279.2)
XYZxyz(13.7634, 8.7564, 49.0991)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940BD #B4BD40
analogous
#4076BD #4940BD #8840BD
triadic
#4940BD #BD4940 #40BD49
tetradic
#4940BD #BD4076 #B4BD40 #40BD88
square
#4940BD #BD4076 #B4BD40 #40BD88
split-complementary
#4940BD #BD8840 #76BD40
monochromatic
#262162 #37318F #4940BD #746DCD #9F9ADD

Accessibility & contrast

On white

7.63
#4940BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4940BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940BD
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940BD#FFFFFF#000000##FFFFFF
##4940BD1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4940bd;
/* rgb */ color: rgb(73, 64, 189);
/* oklch */ color: oklch(46.1% 0.188 279.2);
Tailwind
colors: {
  custom: {
    50: '#8876d2',
    500: '#4940bd',
    950: '#000000',
  },
}
SCSS
$custom: #4940bd;
$custom-light: #8876d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4940bd",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 244.32,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.18843,
    "h": 279.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#4940BD
secondary
#C5C990
accent
#D94FCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4940BD

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

Preview Lab → · Contrast checker → · Palette generator →

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