#4938AC#4938AC

#4938AC is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.176 H 282.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4938AC
RGBrgb(73, 56, 172)
HSLhsl(249, 51%, 45%)
HSVhsv(249, 67%, 67%)
CMYKcmyk(57.6%, 67.4%, 0%, 32.5%)
CIE-LABlab(32.31, 39.83, -59.72)
CIE-LCHlch(32.31, 71.78, 303.70°)
OKLaboklab(43.35% 0.0393 -0.1718)
OKLCHoklch(43.35% 0.176 282.9)
XYZxyz(11.6059, 7.2226, 39.8043)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938AC #9BAC38
analogous
#3861AC #4938AC #8338AC
triadic
#4938AC #AC4938 #38AC49
tetradic
#4938AC #AC3861 #9BAC38 #38AC83
square
#4938AC #AC3861 #9BAC38 #38AC83
split-complementary
#4938AC #AC8338 #61AC38
monochromatic
#221A50 #35297E #4938AC #6958C9 #9387D8

Accessibility & contrast

On white

8.59
#4938AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4938AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938AC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938AC#FFFFFF#000000##FFFFFF
##4938AC1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#14566D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4938ac;
/* rgb */ color: rgb(73, 56, 172);
/* oklch */ color: oklch(43.3% 0.176 282.9);
Tailwind
colors: {
  custom: {
    50: '#8670c6',
    500: '#4938ac',
    950: '#000000',
  },
}
SCSS
$custom: #4938ac;
$custom-light: #8670c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4938ac",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 248.793,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.17622,
    "h": 282.9
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#4938AC
secondary
#B8C27E
accent
#DA4DC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4938AC

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

Preview Lab → · Contrast checker → · Palette generator →

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