#4938D3#4938D3

#4938D3 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.0% C 0.224 H 278.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4938D3
RGBrgb(73, 56, 211)
HSLhsl(247, 64%, 52%)
HSVhsv(247, 73%, 83%)
CMYKcmyk(65.4%, 73.5%, 0%, 17.3%)
CIE-LABlab(35.88, 51.97, -76.77)
CIE-LCHlch(35.88, 92.70, 304.10°)
OKLaboklab(46.98% 0.0323 -0.2217)
OKLCHoklch(46.98% 0.224 278.3)
XYZxyz(15.9159, 8.9466, 62.5035)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938D3 #C2D338
analogous
#3874D3 #4938D3 #9738D3
triadic
#4938D3 #D34938 #38D349
tetradic
#4938D3 #D33874 #C2D338 #38D397
square
#4938D3 #D33874 #C2D338 #38D397
split-complementary
#4938D3 #D39738 #74D338
monochromatic
#241A76 #3425A9 #4938D3 #776ADE #A59CE9

Accessibility & contrast

On white

7.53
#4938D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4938D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938D3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938D3#FFFFFF#000000##FFFFFF
##4938D31.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4938d3;
/* rgb */ color: rgb(73, 56, 211);
/* oklch */ color: oklch(47.0% 0.224 278.3);
Tailwind
colors: {
  custom: {
    50: '#8d71e2',
    500: '#4938d3',
    950: '#000000',
  },
}
SCSS
$custom: #4938d3;
$custom-light: #8d71e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4938d3",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 246.581,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.22402,
    "h": 278.3
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#4938D3
secondary
#CED592
accent
#E741D5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4938D3

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

Preview Lab → · Contrast checker → · Palette generator →

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