#4938CA#4938CA

#4938CA is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.213 H 279.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4938CA
RGBrgb(73, 56, 202)
HSLhsl(247, 58%, 51%)
HSVhsv(247, 72%, 79%)
CMYKcmyk(63.9%, 72.3%, 0%, 20.8%)
CIE-LABlab(35.02, 49.20, -72.97)
CIE-LCHlch(35.02, 88.01, 303.99°)
OKLaboklab(46.11% 0.0341 -0.2106)
OKLCHoklch(46.11% 0.213 279.2)
XYZxyz(14.8191, 8.5079, 56.7269)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938CA #B9CA38
analogous
#3870CA #4938CA #9238CA
triadic
#4938CA #CA4938 #38CA49
tetradic
#4938CA #CA3870 #B9CA38 #38CA92
square
#4938CA #CA3870 #B9CA38 #38CA92
split-complementary
#4938CA #CA9238 #70CA38
monochromatic
#261D6B #37299B #4938CA #7568D7 #A199E4

Accessibility & contrast

On white

7.77
#4938CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4938CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938CA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938CA#FFFFFF#000000##FFFFFF
##4938CA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4938ca;
/* rgb */ color: rgb(73, 56, 202);
/* oklch */ color: oklch(46.1% 0.213 279.2);
Tailwind
colors: {
  custom: {
    50: '#8b71db',
    500: '#4938ca',
    950: '#000000',
  },
}
SCSS
$custom: #4938ca;
$custom-light: #8b71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4938ca",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 246.986,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.21334,
    "h": 279.2
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#4938CA
secondary
#C8CF8E
accent
#E147CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4938CA

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

Preview Lab → · Contrast checker → · Palette generator →

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