#4938DD#4938DD

#4938DD is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 48.0% C 0.236 H 277.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4938DD
RGBrgb(73, 56, 221)
HSLhsl(246, 71%, 54%)
HSVhsv(246, 75%, 87%)
CMYKcmyk(67%, 74.7%, 0%, 13.3%)
CIE-LABlab(36.86, 55.01, -80.90)
CIE-LCHlch(36.86, 97.83, 304.21°)
OKLaboklab(47.97% 0.0301 -0.2338)
OKLCHoklch(47.97% 0.236 277.3)
XYZxyz(17.2087, 9.4638, 69.3124)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938DD #CCDD38
analogous
#387ADD #4938DD #9C38DD
triadic
#4938DD #DD4938 #38DD49
tetradic
#4938DD #DD387A #CCDD38 #38DD9C
square
#4938DD #DD387A #CCDD38 #38DD9C
split-complementary
#4938DD #DD9C38 #7ADD38
monochromatic
#221784 #2F1FB8 #4938DD #796CE6 #A9A1EF

Accessibility & contrast

On white

7.26
#4938DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4938DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938DD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938DD#FFFFFF#000000##FFFFFF
##4938DD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#0050DA
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4938dd;
/* rgb */ color: rgb(73, 56, 221);
/* oklch */ color: oklch(48.0% 0.236 277.3);
Tailwind
colors: {
  custom: {
    50: '#8f72e9',
    500: '#4938dd',
    950: '#000000',
  },
}
SCSS
$custom: #4938dd;
$custom-light: #8f72e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4938dd",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 246.182,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.23569,
    "h": 277.3
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#4938DD
secondary
#D4DB95
accent
#EE3ADB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4938DD

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

Preview Lab → · Contrast checker → · Palette generator →

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