#4938C2#4938C2

#4938C2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.204 H 280.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4938C2
RGBrgb(73, 56, 194)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 76%)
CMYKcmyk(62.4%, 71.1%, 0%, 23.9%)
CIE-LABlab(34.27, 46.72, -69.52)
CIE-LCHlch(34.27, 83.77, 303.90°)
OKLaboklab(45.35% 0.0356 -0.2005)
OKLCHoklch(45.35% 0.204 280.1)
XYZxyz(13.8963, 8.1388, 51.8671)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C2 #B1C238
analogous
#386CC2 #4938C2 #8E38C2
triadic
#4938C2 #C24938 #38C249
tetradic
#4938C2 #C2386C #B1C238 #38C28E
square
#4938C2 #C2386C #B1C238 #38C28E
split-complementary
#4938C2 #C28E38 #6CC238
monochromatic
#251D63 #372A93 #4938C2 #7265D2 #9E94E0

Accessibility & contrast

On white

7.99
#4938C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4938C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C2#FFFFFF#000000##FFFFFF
##4938C21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4938c2;
/* rgb */ color: rgb(73, 56, 194);
/* oklch */ color: oklch(45.4% 0.204 280.1);
Tailwind
colors: {
  custom: {
    50: '#8a71d6',
    500: '#4938c2',
    950: '#000000',
  },
}
SCSS
$custom: #4938c2;
$custom-light: #8a71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c2",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 247.391,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.20367,
    "h": 280.1
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#4938C2
secondary
#C3CB8A
accent
#DF49CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4938C2

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

Preview Lab → · Contrast checker → · Palette generator →

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