#4731C4#4731C4

#4731C4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.4% C 0.214 H 280.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4731C4
RGBrgb(71, 49, 196)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 77%)
CMYKcmyk(63.8%, 75%, 0%, 23.1%)
CIE-LABlab(32.96, 50.84, -72.85)
CIE-LCHlch(32.96, 88.83, 304.91°)
OKLaboklab(44.44% 0.0371 -0.2103)
OKLCHoklch(44.44% 0.214 280)
XYZxyz(13.6575, 7.5207, 52.9458)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731C4 #AEC431
analogous
#3164C4 #4731C4 #9131C4
triadic
#4731C4 #C44731 #31C447
tetradic
#4731C4 #C43164 #AEC431 #31C491
square
#4731C4 #C43164 #AEC431 #31C491
split-complementary
#4731C4 #C49131 #64C431
monochromatic
#241962 #352593 #4731C4 #6E5CD6 #9A8DE2

Accessibility & contrast

On white

8.39
#4731C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4731C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731C4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731C4#FFFFFF#000000##FFFFFF
##4731C41.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4731c4;
/* rgb */ color: rgb(71, 49, 196);
/* oklch */ color: oklch(44.4% 0.214 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a6cd7',
    500: '#4731c4',
    950: '#000000',
  },
}
SCSS
$custom: #4731c4;
$custom-light: #8a6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4731c4",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 248.98,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44444,
    "c": 0.21352,
    "h": 280
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#4731C4
secondary
#C2CD84
accent
#E345CB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4731C4

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

Preview Lab → · Contrast checker → · Palette generator →

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