#4731C3#4731C3

#4731C3 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.212 H 280.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4731C3
RGBrgb(71, 49, 195)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 76%)
CMYKcmyk(63.6%, 74.9%, 0%, 23.5%)
CIE-LABlab(32.87, 50.53, -72.43)
CIE-LCHlch(32.87, 88.31, 304.90°)
OKLaboklab(44.35% 0.0374 -0.209)
OKLCHoklch(44.35% 0.212 280.1)
XYZxyz(13.5440, 7.4753, 52.3483)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731C3 #ADC331
analogous
#3164C3 #4731C3 #9031C3
triadic
#4731C3 #C34731 #31C347
tetradic
#4731C3 #C33164 #ADC331 #31C390
square
#4731C3 #C33164 #ADC331 #31C390
split-complementary
#4731C3 #C39031 #64C331
monochromatic
#231861 #352592 #4731C3 #6E5BD6 #998CE2

Accessibility & contrast

On white

8.42
#4731C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4731C3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731C3#FFFFFF#000000##FFFFFF
##4731C31.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4731c3;
/* rgb */ color: rgb(71, 49, 195);
/* oklch */ color: oklch(44.3% 0.212 280.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cd6',
    500: '#4731c3',
    950: '#000000',
  },
}
SCSS
$custom: #4731c3;
$custom-light: #8a6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4731c3",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 249.041,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.21234,
    "h": 280.1
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4731C3

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

Preview Lab → · Contrast checker → · Palette generator →

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