#4938C8#4938C8

#4938C8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.211 H 279.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4938C8
RGBrgb(73, 56, 200)
HSLhsl(247, 57%, 50%)
HSVhsv(247, 72%, 78%)
CMYKcmyk(63.5%, 72%, 0%, 21.6%)
CIE-LABlab(34.83, 48.58, -72.11)
CIE-LCHlch(34.83, 86.95, 303.97°)
OKLaboklab(45.92% 0.0345 -0.2081)
OKLCHoklch(45.92% 0.211 279.4)
XYZxyz(14.5838, 8.4138, 55.4879)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C8 #B7C838
analogous
#386FC8 #4938C8 #9138C8
triadic
#4938C8 #C84938 #38C849
tetradic
#4938C8 #C8386F #B7C838 #38C891
square
#4938C8 #C8386F #B7C838 #38C891
split-complementary
#4938C8 #C89138 #6FC838
monochromatic
#261D69 #372A99 #4938C8 #7568D5 #A198E3

Accessibility & contrast

On white

7.83
#4938C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4938C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C8#FFFFFF#000000##FFFFFF
##4938C81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4938c8;
/* rgb */ color: rgb(73, 56, 200);
/* oklch */ color: oklch(45.9% 0.211 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b71da',
    500: '#4938c8',
    950: '#000000',
  },
}
SCSS
$custom: #4938c8;
$custom-light: #8b71da;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c8",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 247.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.21094,
    "h": 279.4
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#4938C8
secondary
#C6CE8E
accent
#E048CE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4938C8

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

Preview Lab → · Contrast checker → · Palette generator →

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