#4938BC#4938BC

#4938BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.8% C 0.196 H 280.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4938BC
RGBrgb(73, 56, 188)
HSLhsl(248, 54%, 48%)
HSVhsv(248, 70%, 74%)
CMYKcmyk(61.2%, 70.2%, 0%, 26.3%)
CIE-LABlab(33.72, 44.85, -66.90)
CIE-LCHlch(33.72, 80.54, 303.84°)
OKLaboklab(44.79% 0.0367 -0.1928)
OKLCHoklch(44.79% 0.196 280.8)
XYZxyz(13.2361, 7.8747, 48.3897)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938BC #ABBC38
analogous
#3869BC #4938BC #8B38BC
triadic
#4938BC #BC4938 #38BC49
tetradic
#4938BC #BC3869 #ABBC38 #38BC8B
square
#4938BC #BC3869 #ABBC38 #38BC8B
split-complementary
#4938BC #BC8B38 #69BC38
monochromatic
#241C5E #372A8D #4938BC #6F61D0 #9A90DE

Accessibility & contrast

On white

8.15
#4938BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4938BC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938BC#FFFFFF#000000##FFFFFF
##4938BC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4938bc;
/* rgb */ color: rgb(73, 56, 188);
/* oklch */ color: oklch(44.8% 0.196 280.8);
Tailwind
colors: {
  custom: {
    50: '#8970d1',
    500: '#4938bc',
    950: '#000000',
  },
}
SCSS
$custom: #4938bc;
$custom-light: #8970d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4938bc",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 247.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44793,
    "c": 0.19632,
    "h": 280.8
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#4938BC
secondary
#C0C987
accent
#DD4ACB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4938BC

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

Preview Lab → · Contrast checker → · Palette generator →

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