#4731C5#4731C5

#4731C5 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.215 H 279.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4731C5
RGBrgb(71, 49, 197)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 77%)
CMYKcmyk(64%, 75.1%, 0%, 22.7%)
CIE-LABlab(33.06, 51.14, -73.27)
CIE-LCHlch(33.06, 89.35, 304.91°)
OKLaboklab(44.54% 0.0369 -0.2115)
OKLCHoklch(44.54% 0.215 279.9)
XYZxyz(13.7717, 7.5664, 53.5472)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731C5 #AFC531
analogous
#3165C5 #4731C5 #9131C5
triadic
#4731C5 #C54731 #31C547
tetradic
#4731C5 #C53165 #AFC531 #31C591
square
#4731C5 #C53165 #AFC531 #31C591
split-complementary
#4731C5 #C59131 #65C531
monochromatic
#241963 #352594 #4731C5 #6F5DD7 #9A8EE3

Accessibility & contrast

On white

8.36
#4731C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4731C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731C5
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731C5#FFFFFF#000000##FFFFFF
##4731C51.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4731c5;
/* rgb */ color: rgb(71, 49, 197);
/* oklch */ color: oklch(44.5% 0.215 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a6cd8',
    500: '#4731c5',
    950: '#000000',
  },
}
SCSS
$custom: #4731c5;
$custom-light: #8a6cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4731c5",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 248.919,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.21469,
    "h": 279.9
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#4731C5
secondary
#C2CD85
accent
#E344CC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4731C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4731C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva