#4938E1#4938E1

#4938E1 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.4% C 0.240 H 277.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4938E1
RGBrgb(73, 56, 225)
HSLhsl(246, 74%, 55%)
HSVhsv(246, 75%, 88%)
CMYKcmyk(67.6%, 75.1%, 0%, 11.8%)
CIE-LABlab(37.26, 56.21, -82.54)
CIE-LCHlch(37.26, 99.86, 304.26°)
OKLaboklab(48.37% 0.0292 -0.2385)
OKLCHoklch(48.37% 0.24 277)
XYZxyz(17.7480, 9.6795, 72.1526)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938E1 #D0E138
analogous
#387BE1 #4938E1 #9E38E1
triadic
#4938E1 #E14938 #38E149
tetradic
#4938E1 #E1387B #D0E138 #38E19E
square
#4938E1 #E1387B #D0E138 #38E19E
split-complementary
#4938E1 #E19E38 #7BE138
monochromatic
#21158A #2D1DBF #4938E1 #7A6DE9 #AAA2F1

Accessibility & contrast

On white

7.15
#4938E1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4938E1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938E1
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938E1#FFFFFF#000000##FFFFFF
##4938E11.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE6
Deuteranopia (green-blind)
#0050DE
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4938e1;
/* rgb */ color: rgb(73, 56, 225);
/* oklch */ color: oklch(48.4% 0.240 277.0);
Tailwind
colors: {
  custom: {
    50: '#9072ec',
    500: '#4938e1',
    950: '#000000',
  },
}
SCSS
$custom: #4938e1;
$custom-light: #9072ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4938e1",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 225
  },
  "hsl": {
    "h": 246.036,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.24029,
    "h": 277
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#4938E1
secondary
#D7DE97
accent
#F037DE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4938E1

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

Preview Lab → · Contrast checker → · Palette generator →

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