#4942CB#4942CB

#4942CB is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.204 H 277.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4942CB
RGBrgb(73, 66, 203)
HSLhsl(243, 57%, 53%)
HSVhsv(243, 67%, 80%)
CMYKcmyk(64%, 67.5%, 0%, 20.4%)
CIE-LABlab(37.16, 43.88, -70.04)
CIE-LCHlch(37.16, 82.65, 302.07°)
OKLaboklab(47.67% 0.027 -0.202)
OKLCHoklch(47.67% 0.204 277.6)
XYZxyz(15.4719, 9.6234, 57.5305)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942CB #C4CB42
analogous
#427FCB #4942CB #8E42CB
triadic
#4942CB #CB4942 #42CB49
tetradic
#4942CB #CB427F #C4CB42 #42CB8E
square
#4942CB #CB427F #C4CB42 #42CB8E
split-complementary
#4942CB #CB8E42 #7FCB42
monochromatic
#242073 #332DA3 #4942CB #7772D8 #A5A2E5

Accessibility & contrast

On white

7.18
#4942CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4942CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4942CB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942CB#FFFFFF#000000##FFFFFF
##4942CB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4942cb;
/* rgb */ color: rgb(73, 66, 203);
/* oklch */ color: oklch(47.7% 0.204 277.6);
Tailwind
colors: {
  custom: {
    50: '#8b77dc',
    500: '#4942cb',
    950: '#000000',
  },
}
SCSS
$custom: #4942cb;
$custom-light: #8b77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4942cb",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 243.066,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.20383,
    "h": 277.6
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#4942CB
secondary
#CFD297
accent
#E048D8
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4942CB

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

Preview Lab → · Contrast checker → · Palette generator →

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