#4938BD#4938BD

#4938BD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.9% C 0.198 H 280.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4938BD
RGBrgb(73, 56, 189)
HSLhsl(248, 54%, 48%)
HSVhsv(248, 70%, 74%)
CMYKcmyk(61.4%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.81, 45.16, -67.34)
CIE-LCHlch(33.81, 81.08, 303.85°)
OKLaboklab(44.89% 0.0366 -0.1941)
OKLCHoklch(44.89% 0.198 280.7)
XYZxyz(13.3442, 7.9180, 48.9594)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938BD #ACBD38
analogous
#3869BD #4938BD #8B38BD
triadic
#4938BD #BD4938 #38BD49
tetradic
#4938BD #BD3869 #ACBD38 #38BD8B
square
#4938BD #BD3869 #ACBD38 #38BD8B
split-complementary
#4938BD #BD8B38 #69BD38
monochromatic
#251C5F #372A8E #4938BD #7062D0 #9B91DE

Accessibility & contrast

On white

8.13
#4938BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4938BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938BD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938BD#FFFFFF#000000##FFFFFF
##4938BD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4938bd;
/* rgb */ color: rgb(73, 56, 189);
/* oklch */ color: oklch(44.9% 0.198 280.7);
Tailwind
colors: {
  custom: {
    50: '#8970d2',
    500: '#4938bd',
    950: '#000000',
  },
}
SCSS
$custom: #4938bd;
$custom-light: #8970d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4938bd",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 247.669,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.19755,
    "h": 280.7
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#4938BD
secondary
#C1C987
accent
#DE4ACB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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