#4938BA#4938BA

#4938BA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.6% C 0.194 H 281.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4938BA
RGBrgb(73, 56, 186)
HSLhsl(248, 54%, 47%)
HSVhsv(248, 70%, 73%)
CMYKcmyk(60.8%, 69.9%, 0%, 27.1%)
CIE-LABlab(33.54, 44.23, -66.02)
CIE-LCHlch(33.54, 79.46, 303.82°)
OKLaboklab(44.61% 0.0371 -0.1903)
OKLCHoklch(44.61% 0.194 281)
XYZxyz(13.0220, 7.7891, 47.2621)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938BA #A9BA38
analogous
#3868BA #4938BA #8A38BA
triadic
#4938BA #BA4938 #38BA49
tetradic
#4938BA #BA3868 #A9BA38 #38BA8A
square
#4938BA #BA3868 #A9BA38 #38BA8A
split-complementary
#4938BA #BA8A38 #68BA38
monochromatic
#241C5C #372A8B #4938BA #6F60CF #998FDD

Accessibility & contrast

On white

8.21
#4938BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4938BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938BA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938BA#FFFFFF#000000##FFFFFF
##4938BA1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4938ba;
/* rgb */ color: rgb(73, 56, 186);
/* oklch */ color: oklch(44.6% 0.194 281.0);
Tailwind
colors: {
  custom: {
    50: '#8970d0',
    500: '#4938ba',
    950: '#000000',
  },
}
SCSS
$custom: #4938ba;
$custom-light: #8970d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4938ba",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 247.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.19385,
    "h": 281
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#4938BA
secondary
#BFC886
accent
#DD4BCA
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4938BA

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

Preview Lab → · Contrast checker → · Palette generator →

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