#4938CC#4938CC

#4938CC is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.216 H 279.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4938CC
RGBrgb(73, 56, 204)
HSLhsl(247, 59%, 51%)
HSVhsv(247, 73%, 80%)
CMYKcmyk(64.2%, 72.5%, 0%, 20%)
CIE-LABlab(35.21, 49.82, -73.82)
CIE-LCHlch(35.21, 89.06, 304.01°)
OKLaboklab(46.3% 0.0337 -0.2131)
OKLCHoklch(46.3% 0.216 279)
XYZxyz(15.0574, 8.6032, 57.9821)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938CC #BBCC38
analogous
#3871CC #4938CC #9338CC
triadic
#4938CC #CC4938 #38CC49
tetradic
#4938CC #CC3871 #BBCC38 #38CC93
square
#4938CC #CC3871 #BBCC38 #38CC93
split-complementary
#4938CC #CC9338 #71CC38
monochromatic
#251C6E #36299E #4938CC #7669D8 #A299E5

Accessibility & contrast

On white

7.72
#4938CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4938CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938CC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938CC#FFFFFF#000000##FFFFFF
##4938CC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4938cc;
/* rgb */ color: rgb(73, 56, 204);
/* oklch */ color: oklch(46.3% 0.216 279.0);
Tailwind
colors: {
  custom: {
    50: '#8c71dd',
    500: '#4938cc',
    950: '#000000',
  },
}
SCSS
$custom: #4938cc;
$custom-light: #8c71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4938cc",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 246.892,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.21573,
    "h": 279
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#4938CC
secondary
#C9D18F
accent
#E245D0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4938CC

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

Preview Lab → · Contrast checker → · Palette generator →

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