#4938C0#4938C0

#4938C0 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.201 H 280.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4938C0
RGBrgb(73, 56, 192)
HSLhsl(248, 55%, 49%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(62%, 70.8%, 0%, 24.7%)
CIE-LABlab(34.09, 46.10, -68.65)
CIE-LCHlch(34.09, 82.70, 303.88°)
OKLaboklab(45.17% 0.036 -0.198)
OKLCHoklch(45.17% 0.201 280.3)
XYZxyz(13.6732, 8.0496, 50.6921)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C0 #AFC038
analogous
#386BC0 #4938C0 #8D38C0
triadic
#4938C0 #C04938 #38C049
tetradic
#4938C0 #C0386B #AFC038 #38C08D
square
#4938C0 #C0386B #AFC038 #38C08D
split-complementary
#4938C0 #C08D38 #6BC038
monochromatic
#251C61 #372A91 #4938C0 #7164D2 #9C93DF

Accessibility & contrast

On white

8.05
#4938C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4938C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C0#FFFFFF#000000##FFFFFF
##4938C01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4938c0;
/* rgb */ color: rgb(73, 56, 192);
/* oklch */ color: oklch(45.2% 0.201 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a71d4',
    500: '#4938c0',
    950: '#000000',
  },
}
SCSS
$custom: #4938c0;
$custom-light: #8a71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c0",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 247.5,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45165,
    "c": 0.20123,
    "h": 280.3
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#4938C0
secondary
#C2CB89
accent
#DE4ACC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4938C0

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

Preview Lab → · Contrast checker → · Palette generator →

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