#4938AE#4938AE

#4938AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.179 H 282.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4938AE
RGBrgb(73, 56, 174)
HSLhsl(249, 51%, 45%)
HSVhsv(249, 68%, 68%)
CMYKcmyk(58%, 67.8%, 0%, 31.8%)
CIE-LABlab(32.48, 40.46, -60.63)
CIE-LCHlch(32.48, 72.89, 303.72°)
OKLaboklab(43.52% 0.039 -0.1745)
OKLCHoklch(43.52% 0.179 282.6)
XYZxyz(11.7994, 7.3000, 40.8235)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938AE #9DAE38
analogous
#3862AE #4938AE #8438AE
triadic
#4938AE #AE4938 #38AE49
tetradic
#4938AE #AE3862 #9DAE38 #38AE84
square
#4938AE #AE3862 #9DAE38 #38AE84
split-complementary
#4938AE #AE8438 #62AE38
monochromatic
#221A51 #362980 #4938AE #6A59CA #9388D9

Accessibility & contrast

On white

8.54
#4938AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4938AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938AE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938AE#FFFFFF#000000##FFFFFF
##4938AE1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#0F566E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4938ae;
/* rgb */ color: rgb(73, 56, 174);
/* oklch */ color: oklch(43.5% 0.179 282.6);
Tailwind
colors: {
  custom: {
    50: '#8670c7',
    500: '#4938ae',
    950: '#000000',
  },
}
SCSS
$custom: #4938ae;
$custom-light: #8670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4938ae",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 248.644,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.17877,
    "h": 282.6
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#4938AE
secondary
#B9C37F
accent
#DB4DC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4938AE

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

Preview Lab → · Contrast checker → · Palette generator →

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