#4731BA#4731BA

#4731BA is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.202 H 281.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4731BA
RGBrgb(71, 49, 186)
HSLhsl(250, 58%, 46%)
HSVhsv(250, 74%, 73%)
CMYKcmyk(61.8%, 73.7%, 0%, 27.1%)
CIE-LABlab(31.99, 47.80, -68.57)
CIE-LCHlch(31.99, 83.59, 304.88°)
OKLaboklab(43.46% 0.0394 -0.1978)
OKLCHoklch(43.46% 0.202 281.3)
XYZxyz(12.5570, 7.0805, 47.1498)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731BA #A4BA31
analogous
#315FBA #4731BA #8B31BA
triadic
#4731BA #BA4731 #31BA47
tetradic
#4731BA #BA315F #A4BA31 #31BA8B
square
#4731BA #BA315F #A4BA31 #31BA8B
split-complementary
#4731BA #BA8B31 #5FBA31
monochromatic
#221759 #35248A #4731BA #6A56D2 #9586DF

Accessibility & contrast

On white

8.69
#4731BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4731BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731BA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731BA#FFFFFF#000000##FFFFFF
##4731BA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4731ba;
/* rgb */ color: rgb(71, 49, 186);
/* oklch */ color: oklch(43.5% 0.202 281.3);
Tailwind
colors: {
  custom: {
    50: '#886cd0',
    500: '#4731ba',
    950: '#000000',
  },
}
SCSS
$custom: #4731ba;
$custom-light: #886cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4731ba",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 249.635,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.20166,
    "h": 281.3
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#4731BA
secondary
#BDC97E
accent
#E246C9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4731BA

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

Preview Lab → · Contrast checker → · Palette generator →

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