#4940CA#4940CA

#4940CA is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.3% C 0.205 H 278.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4940CA
RGBrgb(73, 64, 202)
HSLhsl(244, 57%, 52%)
HSVhsv(244, 68%, 79%)
CMYKcmyk(63.9%, 68.3%, 0%, 20.8%)
CIE-LABlab(36.64, 44.72, -70.30)
CIE-LCHlch(36.64, 83.32, 302.46°)
OKLaboklab(47.27% 0.0286 -0.2028)
OKLCHoklch(47.27% 0.205 278)
XYZxyz(15.2383, 9.3463, 56.8667)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940CA #C1CA40
analogous
#407CCA #4940CA #8E40CA
triadic
#4940CA #CA4940 #40CA49
tetradic
#4940CA #CA407C #C1CA40 #40CA8E
square
#4940CA #CA407C #C1CA40 #40CA8E
split-complementary
#4940CA #CA8E40 #7CCA40
monochromatic
#241F70 #342CA0 #4940CA #7770D7 #A4A0E5

Accessibility & contrast

On white

7.32
#4940CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4940CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940CA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940CA#FFFFFF#000000##FFFFFF
##4940CA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4940ca;
/* rgb */ color: rgb(73, 64, 202);
/* oklch */ color: oklch(47.3% 0.205 278.0);
Tailwind
colors: {
  custom: {
    50: '#8b76db',
    500: '#4940ca',
    950: '#000000',
  },
}
SCSS
$custom: #4940ca;
$custom-light: #8b76db;
$custom-dark: #000000;
JSON
{
  "hex": "#4940ca",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 243.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.20482,
    "h": 278
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#4940CA
secondary
#CDD195
accent
#E048D6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4940CA

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

Preview Lab → · Contrast checker → · Palette generator →

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