#4940CC#4940CC

#4940CC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.207 H 277.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4940CC
RGBrgb(73, 64, 204)
HSLhsl(244, 58%, 53%)
HSVhsv(244, 69%, 80%)
CMYKcmyk(64.2%, 68.6%, 0%, 20%)
CIE-LABlab(36.82, 45.36, -71.17)
CIE-LCHlch(36.82, 84.39, 302.51°)
OKLaboklab(47.46% 0.0283 -0.2054)
OKLCHoklch(47.46% 0.207 277.8)
XYZxyz(15.4766, 9.4416, 58.1219)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940CC #C3CC40
analogous
#407DCC #4940CC #8F40CC
triadic
#4940CC #CC4940 #40CC49
tetradic
#4940CC #CC407D #C3CC40 #40CC8F
square
#4940CC #CC407D #C3CC40 #40CC8F
split-complementary
#4940CC #CC8F40 #7DCC40
monochromatic
#241F73 #332CA3 #4940CC #7770D9 #A5A1E6

Accessibility & contrast

On white

7.27
#4940CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4940CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940CC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940CC#FFFFFF#000000##FFFFFF
##4940CC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4940cc;
/* rgb */ color: rgb(73, 64, 204);
/* oklch */ color: oklch(47.5% 0.207 277.8);
Tailwind
colors: {
  custom: {
    50: '#8b76dd',
    500: '#4940cc',
    950: '#000000',
  },
}
SCSS
$custom: #4940cc;
$custom-light: #8b76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4940cc",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 243.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.2073,
    "h": 277.8
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#4940CC
secondary
#CED295
accent
#E147D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4940CC

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

Preview Lab → · Contrast checker → · Palette generator →

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