#4942CF#4942CF

#4942CF is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.0% C 0.209 H 277.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4942CF
RGBrgb(73, 66, 207)
HSLhsl(243, 59%, 54%)
HSVhsv(243, 68%, 81%)
CMYKcmyk(64.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(37.51, 45.16, -71.77)
CIE-LCHlch(37.51, 84.80, 302.18°)
OKLaboklab(48.04% 0.0264 -0.2071)
OKLCHoklch(48.04% 0.209 277.3)
XYZxyz(15.9547, 9.8166, 60.0734)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942CF #C8CF42
analogous
#4281CF #4942CF #8F42CF
triadic
#4942CF #CF4942 #42CF49
tetradic
#4942CF #CF4281 #C8CF42 #42CF8F
square
#4942CF #CF4281 #C8CF42 #42CF8F
split-complementary
#4942CF #CF8F42 #81CF42
monochromatic
#231F78 #312BA9 #4942CF #7873DB #A7A4E8

Accessibility & contrast

On white

7.09
#4942CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4942CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4942CF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942CF#FFFFFF#000000##FFFFFF
##4942CF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4942cf;
/* rgb */ color: rgb(73, 66, 207);
/* oklch */ color: oklch(48.0% 0.209 277.3);
Tailwind
colors: {
  custom: {
    50: '#8c77df',
    500: '#4942cf',
    950: '#000000',
  },
}
SCSS
$custom: #4942cf;
$custom-light: #8c77df;
$custom-dark: #000000;
JSON
{
  "hex": "#4942cf",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 242.979,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.20881,
    "h": 277.3
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#4942CF
secondary
#D2D598
accent
#E345DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4942CF

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

Preview Lab → · Contrast checker → · Palette generator →

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