#4942BF#4942BF

#4942BF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.189 H 278.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4942BF
RGBrgb(73, 66, 191)
HSLhsl(243, 49%, 50%)
HSVhsv(243, 65%, 75%)
CMYKcmyk(61.8%, 65.4%, 0%, 25.1%)
CIE-LABlab(36.13, 39.99, -64.73)
CIE-LCHlch(36.13, 76.08, 301.71°)
OKLaboklab(46.61% 0.0284 -0.1865)
OKLCHoklch(46.61% 0.189 278.6)
XYZxyz(14.0968, 9.0734, 50.2886)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942BF #B8BF42
analogous
#4279BF #4942BF #8742BF
triadic
#4942BF #BF4942 #42BF49
tetradic
#4942BF #BF4279 #B8BF42 #42BF87
square
#4942BF #BF4279 #B8BF42 #42BF87
split-complementary
#4942BF #BF8742 #79BF42
monochromatic
#262265 #373292 #4942BF #7570CE #A19DDE

Accessibility & contrast

On white

7.46
#4942BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4942BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4942BF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942BF#FFFFFF#000000##FFFFFF
##4942BF1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4942bf;
/* rgb */ color: rgb(73, 66, 191);
/* oklch */ color: oklch(46.6% 0.189 278.6);
Tailwind
colors: {
  custom: {
    50: '#8977d3',
    500: '#4942bf',
    950: '#000000',
  },
}
SCSS
$custom: #4942bf;
$custom-light: #8977d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4942bf",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 243.36,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.18862,
    "h": 278.6
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#4942BF
secondary
#C7CA93
accent
#D94FD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4942BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4942BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva