#4938DF#4938DF

#4938DF is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.2% C 0.238 H 277.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4938DF
RGBrgb(73, 56, 223)
HSLhsl(246, 72%, 55%)
HSVhsv(246, 75%, 87%)
CMYKcmyk(67.3%, 74.9%, 0%, 12.5%)
CIE-LABlab(37.06, 55.61, -81.72)
CIE-LCHlch(37.06, 98.85, 304.23°)
OKLaboklab(48.17% 0.0297 -0.2361)
OKLCHoklch(48.17% 0.238 277.2)
XYZxyz(17.4768, 9.5710, 70.7241)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938DF #CEDF38
analogous
#387ADF #4938DF #9D38DF
triadic
#4938DF #DF4938 #38DF49
tetradic
#4938DF #DF387A #CEDF38 #38DF9D
square
#4938DF #DF387A #CEDF38 #38DF9D
split-complementary
#4938DF #DF9D38 #7ADF38
monochromatic
#211687 #2E1EBC #4938DF #796DE7 #A9A1F0

Accessibility & contrast

On white

7.21
#4938DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4938DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938DF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938DF#FFFFFF#000000##FFFFFF
##4938DF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE4
Deuteranopia (green-blind)
#0050DC
Tritanopia (blue-blind)
#006989
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4938df;
/* rgb */ color: rgb(73, 56, 223);
/* oklch */ color: oklch(48.2% 0.238 277.2);
Tailwind
colors: {
  custom: {
    50: '#9072ea',
    500: '#4938df',
    950: '#000000',
  },
}
SCSS
$custom: #4938df;
$custom-light: #9072ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4938df",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 246.108,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.238,
    "h": 277.2
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#4938DF
secondary
#D5DD96
accent
#EF39DC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4938DF

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

Preview Lab → · Contrast checker → · Palette generator →

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