#4938C3#4938C3

#4938C3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.205 H 280.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4938C3
RGBrgb(73, 56, 195)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 76%)
CMYKcmyk(62.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(34.36, 47.03, -69.96)
CIE-LCHlch(34.36, 84.30, 303.91°)
OKLaboklab(45.45% 0.0355 -0.2018)
OKLCHoklch(45.45% 0.205 280)
XYZxyz(14.0090, 8.1839, 52.4606)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C3 #B2C338
analogous
#386DC3 #4938C3 #8F38C3
triadic
#4938C3 #C34938 #38C349
tetradic
#4938C3 #C3386D #B2C338 #38C38F
square
#4938C3 #C3386D #B2C338 #38C38F
split-complementary
#4938C3 #C38F38 #6DC338
monochromatic
#251D64 #372A93 #4938C3 #7365D3 #9E95E1

Accessibility & contrast

On white

7.96
#4938C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4938C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C3#FFFFFF#000000##FFFFFF
##4938C31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4938c3;
/* rgb */ color: rgb(73, 56, 195);
/* oklch */ color: oklch(45.4% 0.205 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a71d6',
    500: '#4938c3',
    950: '#000000',
  },
}
SCSS
$custom: #4938c3;
$custom-light: #8a71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c3",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 247.338,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.20489,
    "h": 280
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#4938C3
secondary
#C4CC8B
accent
#DF49CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4938C3

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

Preview Lab → · Contrast checker → · Palette generator →

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