#4938CB#4938CB

#4938CB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.215 H 279.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4938CB
RGBrgb(73, 56, 203)
HSLhsl(247, 59%, 51%)
HSVhsv(247, 72%, 80%)
CMYKcmyk(64%, 72.4%, 0%, 20.4%)
CIE-LABlab(35.11, 49.51, -73.39)
CIE-LCHlch(35.11, 88.53, 304.00°)
OKLaboklab(46.21% 0.0339 -0.2118)
OKLCHoklch(46.21% 0.215 279.1)
XYZxyz(14.9379, 8.5554, 57.3525)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938CB #BACB38
analogous
#3870CB #4938CB #9238CB
triadic
#4938CB #CB4938 #38CB49
tetradic
#4938CB #CB3870 #BACB38 #38CB92
square
#4938CB #CB3870 #BACB38 #38CB92
split-complementary
#4938CB #CB9238 #70CB38
monochromatic
#261C6C #36299D #4938CB #7569D8 #A299E4

Accessibility & contrast

On white

7.75
#4938CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4938CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938CB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938CB#FFFFFF#000000##FFFFFF
##4938CB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4938cb;
/* rgb */ color: rgb(73, 56, 203);
/* oklch */ color: oklch(46.2% 0.215 279.1);
Tailwind
colors: {
  custom: {
    50: '#8c71dc',
    500: '#4938cb',
    950: '#000000',
  },
}
SCSS
$custom: #4938cb;
$custom-light: #8c71dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4938cb",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 246.939,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46208,
    "c": 0.21454,
    "h": 279.1
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#4938CB
secondary
#C8D08F
accent
#E246D0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4938CB

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

Preview Lab → · Contrast checker → · Palette generator →

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