#4731C8#4731C8

#4731C8 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.8% C 0.218 H 279.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4731C8
RGBrgb(71, 49, 200)
HSLhsl(249, 61%, 49%)
HSVhsv(249, 76%, 78%)
CMYKcmyk(64.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(33.36, 52.04, -74.54)
CIE-LCHlch(33.36, 90.91, 304.92°)
OKLaboklab(44.84% 0.0362 -0.2152)
OKLCHoklch(44.84% 0.218 279.5)
XYZxyz(14.1188, 7.7052, 55.3756)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731C8 #B2C831
analogous
#3167C8 #4731C8 #9331C8
triadic
#4731C8 #C84731 #31C847
tetradic
#4731C8 #C83167 #B2C831 #31C893
square
#4731C8 #C83167 #B2C831 #31C893
split-complementary
#4731C8 #C89331 #67C831
monochromatic
#241966 #362597 #4731C8 #705FD8 #9C90E4

Accessibility & contrast

On white

8.26
#4731C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4731C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731C8
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731C8#FFFFFF#000000##FFFFFF
##4731C81.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4731c8;
/* rgb */ color: rgb(71, 49, 200);
/* oklch */ color: oklch(44.8% 0.218 279.5);
Tailwind
colors: {
  custom: {
    50: '#8b6dda',
    500: '#4731c8',
    950: '#000000',
  },
}
SCSS
$custom: #4731c8;
$custom-light: #8b6dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4731c8",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 248.742,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.2182,
    "h": 279.5
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#4731C8
secondary
#C4CE86
accent
#E444CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4731C8

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

Preview Lab → · Contrast checker → · Palette generator →

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