#4938BF#4938BF

#4938BF is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.200 H 280.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4938BF
RGBrgb(73, 56, 191)
HSLhsl(248, 55%, 48%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(61.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(33.99, 45.79, -68.22)
CIE-LCHlch(33.99, 82.16, 303.87°)
OKLaboklab(45.07% 0.0362 -0.1967)
OKLCHoklch(45.07% 0.2 280.4)
XYZxyz(13.5628, 8.0054, 50.1106)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938BF #AEBF38
analogous
#386ABF #4938BF #8C38BF
triadic
#4938BF #BF4938 #38BF49
tetradic
#4938BF #BF386A #AEBF38 #38BF8C
square
#4938BF #BF386A #AEBF38 #38BF8C
split-complementary
#4938BF #BF8C38 #6ABF38
monochromatic
#251C60 #372A90 #4938BF #7163D1 #9C92DF

Accessibility & contrast

On white

8.07
#4938BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4938BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938BF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938BF#FFFFFF#000000##FFFFFF
##4938BF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4938bf;
/* rgb */ color: rgb(73, 56, 191);
/* oklch */ color: oklch(45.1% 0.200 280.4);
Tailwind
colors: {
  custom: {
    50: '#8971d3',
    500: '#4938bf',
    950: '#000000',
  },
}
SCSS
$custom: #4938bf;
$custom-light: #8971d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4938bf",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 247.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.20001,
    "h": 280.4
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#4938BF
secondary
#C2CA89
accent
#DE4ACB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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