#4938C4#4938C4

#4938C4 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.206 H 279.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4938C4
RGBrgb(73, 56, 196)
HSLhsl(247, 56%, 49%)
HSVhsv(247, 71%, 77%)
CMYKcmyk(62.8%, 71.4%, 0%, 23.1%)
CIE-LABlab(34.46, 47.34, -70.39)
CIE-LCHlch(34.46, 84.83, 303.92°)
OKLaboklab(45.54% 0.0353 -0.2031)
OKLCHoklch(45.54% 0.206 279.9)
XYZxyz(14.1225, 8.2293, 53.0580)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C4 #B3C438
analogous
#386DC4 #4938C4 #8F38C4
triadic
#4938C4 #C44938 #38C449
tetradic
#4938C4 #C4386D #B3C438 #38C48F
square
#4938C4 #C4386D #B3C438 #38C48F
split-complementary
#4938C4 #C48F38 #6DC438
monochromatic
#261D65 #372A94 #4938C4 #7366D3 #9F96E1

Accessibility & contrast

On white

7.94
#4938C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4938C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C4#FFFFFF#000000##FFFFFF
##4938C41.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4938c4;
/* rgb */ color: rgb(73, 56, 196);
/* oklch */ color: oklch(45.5% 0.206 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a71d7',
    500: '#4938c4',
    950: '#000000',
  },
}
SCSS
$custom: #4938c4;
$custom-light: #8a71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c4",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 247.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.20611,
    "h": 279.9
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#4938C4
secondary
#C4CC8C
accent
#DF49CD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4938C4

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

Preview Lab → · Contrast checker → · Palette generator →

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