#4938C6#4938C6

#4938C6 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.209 H 279.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4938C6
RGBrgb(73, 56, 198)
HSLhsl(247, 56%, 50%)
HSVhsv(247, 72%, 78%)
CMYKcmyk(63.1%, 71.7%, 0%, 22.4%)
CIE-LABlab(34.64, 47.96, -71.25)
CIE-LCHlch(34.64, 85.89, 303.95°)
OKLaboklab(45.73% 0.0349 -0.2056)
OKLCHoklch(45.73% 0.209 279.6)
XYZxyz(14.3516, 8.3209, 54.2649)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C6 #B5C638
analogous
#386EC6 #4938C6 #9038C6
triadic
#4938C6 #C64938 #38C649
tetradic
#4938C6 #C6386E #B5C638 #38C690
square
#4938C6 #C6386E #B5C638 #38C690
split-complementary
#4938C6 #C69038 #6EC638
monochromatic
#261D67 #372B96 #4938C6 #7467D4 #A097E2

Accessibility & contrast

On white

7.88
#4938C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4938C6
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C6#FFFFFF#000000##FFFFFF
##4938C61.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4938c6;
/* rgb */ color: rgb(73, 56, 198);
/* oklch */ color: oklch(45.7% 0.209 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b71d8',
    500: '#4938c6',
    950: '#000000',
  },
}
SCSS
$custom: #4938c6;
$custom-light: #8b71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c6",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 247.183,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.20853,
    "h": 279.6
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4938C6

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

Preview Lab → · Contrast checker → · Palette generator →

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