#4731C6#4731C6

#4731C6 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.6% C 0.216 H 279.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4731C6
RGBrgb(71, 49, 198)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 78%)
CMYKcmyk(64.1%, 75.3%, 0%, 22.4%)
CIE-LABlab(33.16, 51.44, -73.70)
CIE-LCHlch(33.16, 89.87, 304.91°)
OKLaboklab(44.64% 0.0367 -0.2127)
OKLCHoklch(44.64% 0.216 279.8)
XYZxyz(13.8866, 7.6123, 54.1527)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731C6 #B0C631
analogous
#3165C6 #4731C6 #9131C6
triadic
#4731C6 #C64731 #31C647
tetradic
#4731C6 #C63165 #B0C631 #31C691
square
#4731C6 #C63165 #B0C631 #31C691
split-complementary
#4731C6 #C69131 #65C631
monochromatic
#241964 #352595 #4731C6 #6F5DD7 #9B8EE3

Accessibility & contrast

On white

8.32
#4731C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4731C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731C6
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731C6#FFFFFF#000000##FFFFFF
##4731C61.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4731c6;
/* rgb */ color: rgb(71, 49, 198);
/* oklch */ color: oklch(44.6% 0.216 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a6cd9',
    500: '#4731c6',
    950: '#000000',
  },
}
SCSS
$custom: #4731c6;
$custom-light: #8a6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4731c6",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 248.859,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.21587,
    "h": 279.8
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#4731C6
secondary
#C3CE85
accent
#E344CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4731C6

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

Preview Lab → · Contrast checker → · Palette generator →

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