#4938D7#4938D7

#4938D7 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.4% C 0.229 H 277.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4938D7
RGBrgb(73, 56, 215)
HSLhsl(246, 67%, 53%)
HSVhsv(246, 74%, 84%)
CMYKcmyk(66%, 74%, 0%, 15.7%)
CIE-LABlab(36.27, 53.19, -78.43)
CIE-LCHlch(36.27, 94.77, 304.14°)
OKLaboklab(47.38% 0.0314 -0.2265)
OKLCHoklch(47.38% 0.229 277.9)
XYZxyz(16.4236, 9.1497, 65.1774)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938D7 #C6D738
analogous
#3876D7 #4938D7 #9838D7
triadic
#4938D7 #D74938 #38D749
tetradic
#4938D7 #D73876 #C6D738 #38D798
square
#4938D7 #D73876 #C6D738 #38D798
split-complementary
#4938D7 #D79838 #76D738
monochromatic
#23197C #3223AF #4938D7 #786BE1 #A69EEB

Accessibility & contrast

On white

7.42
#4938D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4938D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938D7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938D7#FFFFFF#000000##FFFFFF
##4938D71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4938d7;
/* rgb */ color: rgb(73, 56, 215);
/* oklch */ color: oklch(47.4% 0.229 277.9);
Tailwind
colors: {
  custom: {
    50: '#8e71e5',
    500: '#4938d7',
    950: '#000000',
  },
}
SCSS
$custom: #4938d7;
$custom-light: #8e71e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4938d7",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 215
  },
  "hsl": {
    "h": 246.415,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47376,
    "c": 0.22872,
    "h": 277.9
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#4938D7
secondary
#D0D893
accent
#E93ED7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4938D7

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

Preview Lab → · Contrast checker → · Palette generator →

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