#4938B7#4938B7

#4938B7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.3% C 0.190 H 281.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4938B7
RGBrgb(73, 56, 183)
HSLhsl(248, 53%, 47%)
HSVhsv(248, 69%, 72%)
CMYKcmyk(60.1%, 69.4%, 0%, 28.2%)
CIE-LABlab(33.27, 43.29, -64.69)
CIE-LCHlch(33.27, 77.83, 303.79°)
OKLaboklab(44.33% 0.0376 -0.1864)
OKLCHoklch(44.33% 0.19 281.4)
XYZxyz(12.7064, 7.6628, 45.6001)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938B7 #A6B738
analogous
#3867B7 #4938B7 #8838B7
triadic
#4938B7 #B74938 #38B749
tetradic
#4938B7 #B73867 #A6B738 #38B788
square
#4938B7 #B73867 #A6B738 #38B788
split-complementary
#4938B7 #B78838 #67B738
monochromatic
#241B59 #362A88 #4938B7 #6D5ECE #988DDC

Accessibility & contrast

On white

8.29
#4938B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4938B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938B7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938B7#FFFFFF#000000##FFFFFF
##4938B71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4938b7;
/* rgb */ color: rgb(73, 56, 183);
/* oklch */ color: oklch(44.3% 0.190 281.4);
Tailwind
colors: {
  custom: {
    50: '#8870ce',
    500: '#4938b7',
    950: '#000000',
  },
}
SCSS
$custom: #4938b7;
$custom-light: #8870ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4938b7",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 248.031,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.19012,
    "h": 281.4
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#4938B7
secondary
#BEC784
accent
#DD4BC9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0814
muted
#7D7B82

Preview Lab

Preview with #4938B7

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

Preview Lab → · Contrast checker → · Palette generator →

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