#4938CD#4938CD

#4938CD is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.217 H 278.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4938CD
RGBrgb(73, 56, 205)
HSLhsl(247, 60%, 51%)
HSVhsv(247, 73%, 80%)
CMYKcmyk(64.4%, 72.7%, 0%, 19.6%)
CIE-LABlab(35.30, 50.13, -74.24)
CIE-LCHlch(35.30, 89.58, 304.03°)
OKLaboklab(46.4% 0.0335 -0.2143)
OKLCHoklch(46.4% 0.217 278.9)
XYZxyz(15.1777, 8.6514, 58.6158)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938CD #BCCD38
analogous
#3871CD #4938CD #9338CD
triadic
#4938CD #CD4938 #38CD49
tetradic
#4938CD #CD3871 #BCCD38 #38CD93
square
#4938CD #CD3871 #BCCD38 #38CD93
split-complementary
#4938CD #CD9338 #71CD38
monochromatic
#251C6F #3628A0 #4938CD #7669D9 #A29AE6

Accessibility & contrast

On white

7.69
#4938CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4938CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938CD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938CD#FFFFFF#000000##FFFFFF
##4938CD1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004DCA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4938cd;
/* rgb */ color: rgb(73, 56, 205);
/* oklch */ color: oklch(46.4% 0.217 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c71de',
    500: '#4938cd',
    950: '#000000',
  },
}
SCSS
$custom: #4938cd;
$custom-light: #8c71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4938cd",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 246.846,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.21692,
    "h": 278.9
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#4938CD
secondary
#CAD18F
accent
#E345D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4938CD

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

Preview Lab → · Contrast checker → · Palette generator →

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