#4938C1#4938C1

#4938C1 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.202 H 280.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4938C1
RGBrgb(73, 56, 193)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 76%)
CMYKcmyk(62.2%, 71%, 0%, 24.3%)
CIE-LABlab(34.18, 46.41, -69.09)
CIE-LCHlch(34.18, 83.23, 303.89°)
OKLaboklab(45.26% 0.0358 -0.1993)
OKLCHoklch(45.26% 0.202 280.2)
XYZxyz(13.7844, 8.0940, 51.2776)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938C1 #B0C138
analogous
#386CC1 #4938C1 #8E38C1
triadic
#4938C1 #C14938 #38C149
tetradic
#4938C1 #C1386C #B0C138 #38C18E
square
#4938C1 #C1386C #B0C138 #38C18E
split-complementary
#4938C1 #C18E38 #6CC138
monochromatic
#251C62 #372A92 #4938C1 #7264D2 #9D94E0

Accessibility & contrast

On white

8.02
#4938C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4938C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938C1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938C1#FFFFFF#000000##FFFFFF
##4938C11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4938c1;
/* rgb */ color: rgb(73, 56, 193);
/* oklch */ color: oklch(45.3% 0.202 280.2);
Tailwind
colors: {
  custom: {
    50: '#8a71d5',
    500: '#4938c1',
    950: '#000000',
  },
}
SCSS
$custom: #4938c1;
$custom-light: #8a71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4938c1",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 247.445,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.20246,
    "h": 280.2
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4938C1

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

Preview Lab → · Contrast checker → · Palette generator →

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