#4938C5#4938C5

#4938C5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.207 H 279.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4938C5
RGBrgb(73, 56, 197)
HSLhsl(247, 56%, 50%)
HSVhsv(247, 72%, 77%)
CMYKcmyk(62.9%, 71.6%, 0%, 22.7%)
CIE-LABlab(34.55, 47.65, -70.82)
CIE-LCHlch(34.55, 85.36, 303.94°)
OKLaboklab(45.64% 0.0351 -0.2043)
OKLCHoklch(45.64% 0.207 279.7)
XYZxyz(14.2367, 8.2749, 53.6595)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C5 #B4C538
analogous
#386EC5 #4938C5 #9038C5
triadic
#4938C5 #C54938 #38C549
tetradic
#4938C5 #C5386E #B4C538 #38C590
square
#4938C5 #C5386E #B4C538 #38C590
split-complementary
#4938C5 #C59038 #6EC538
monochromatic
#261D66 #372A95 #4938C5 #7467D4 #9F96E1

Accessibility & contrast

On white

7.91
#4938C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4938C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C5#FFFFFF#000000##FFFFFF
##4938C51.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4938c5;
/* rgb */ color: rgb(73, 56, 197);
/* oklch */ color: oklch(45.6% 0.207 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b71d8',
    500: '#4938c5',
    950: '#000000',
  },
}
SCSS
$custom: #4938c5;
$custom-light: #8b71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c5",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 247.234,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.20732,
    "h": 279.7
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#4938C5
secondary
#C5CD8C
accent
#DF49CD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4938C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4938C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva