#4731C2#4731C2

#4731C2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.211 H 280.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4731C2
RGBrgb(71, 49, 194)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 76%)
CMYKcmyk(63.4%, 74.7%, 0%, 23.9%)
CIE-LABlab(32.77, 50.23, -72.00)
CIE-LCHlch(32.77, 87.79, 304.90°)
OKLaboklab(44.25% 0.0376 -0.2078)
OKLCHoklch(44.25% 0.211 280.3)
XYZxyz(13.4314, 7.4302, 51.7549)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731C2 #ACC231
analogous
#3164C2 #4731C2 #8F31C2
triadic
#4731C2 #C24731 #31C247
tetradic
#4731C2 #C23164 #ACC231 #31C28F
square
#4731C2 #C23164 #ACC231 #31C28F
split-complementary
#4731C2 #C28F31 #64C231
monochromatic
#231860 #352591 #4731C2 #6D5BD6 #998CE2

Accessibility & contrast

On white

8.45
#4731C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4731C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731C2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731C2#FFFFFF#000000##FFFFFF
##4731C21.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4731c2;
/* rgb */ color: rgb(71, 49, 194);
/* oklch */ color: oklch(44.2% 0.211 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a6cd6',
    500: '#4731c2',
    950: '#000000',
  },
}
SCSS
$custom: #4731c2;
$custom-light: #8a6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4731c2",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 249.103,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.21117,
    "h": 280.3
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4731C2

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

Preview Lab → · Contrast checker → · Palette generator →

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