#4938CF#4938CF

#4938CF is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.6% C 0.219 H 278.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4938CF
RGBrgb(73, 56, 207)
HSLhsl(247, 61%, 52%)
HSVhsv(247, 73%, 81%)
CMYKcmyk(64.7%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.50, 50.74, -75.09)
CIE-LCHlch(35.50, 90.62, 304.05°)
OKLaboklab(46.59% 0.0331 -0.2168)
OKLCHoklch(46.59% 0.219 278.7)
XYZxyz(15.4207, 8.7485, 59.8954)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938CF #BECF38
analogous
#3873CF #4938CF #9538CF
triadic
#4938CF #CF4938 #38CF49
tetradic
#4938CF #CF3873 #BECF38 #38CF95
square
#4938CF #CF3873 #BECF38 #38CF95
split-complementary
#4938CF #CF9538 #73CF38
monochromatic
#251B71 #3527A3 #4938CF #7669DB #A39BE7

Accessibility & contrast

On white

7.64
#4938CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4938CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938CF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938CF#FFFFFF#000000##FFFFFF
##4938CF1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004DCC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4938cf;
/* rgb */ color: rgb(73, 56, 207);
/* oklch */ color: oklch(46.6% 0.219 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c71df',
    500: '#4938cf',
    950: '#000000',
  },
}
SCSS
$custom: #4938cf;
$custom-light: #8c71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4938cf",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 246.755,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.2193,
    "h": 278.7
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#4938CF
secondary
#CBD390
accent
#E444D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4938CF

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

Preview Lab → · Contrast checker → · Palette generator →

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