#4731BC#4731BC

#4731BC is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.204 H 281.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4731BC
RGBrgb(71, 49, 188)
HSLhsl(249, 59%, 46%)
HSVhsv(249, 74%, 74%)
CMYKcmyk(62.2%, 73.9%, 0%, 26.3%)
CIE-LABlab(32.18, 48.41, -69.44)
CIE-LCHlch(32.18, 84.65, 304.89°)
OKLaboklab(43.66% 0.039 -0.2003)
OKLCHoklch(43.66% 0.204 281)
XYZxyz(12.7711, 7.1661, 48.2774)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731BC #A6BC31
analogous
#3161BC #4731BC #8D31BC
triadic
#4731BC #BC4731 #31BC47
tetradic
#4731BC #BC3161 #A6BC31 #31BC8D
square
#4731BC #BC3161 #A6BC31 #31BC8D
split-complementary
#4731BC #BC8D31 #61BC31
monochromatic
#22185B #35248B #4731BC #6B57D3 #9688E0

Accessibility & contrast

On white

8.63
#4731BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4731BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731BC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731BC#FFFFFF#000000##FFFFFF
##4731BC1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4731bc;
/* rgb */ color: rgb(71, 49, 188);
/* oklch */ color: oklch(43.7% 0.204 281.0);
Tailwind
colors: {
  custom: {
    50: '#886cd1',
    500: '#4731bc',
    950: '#000000',
  },
}
SCSS
$custom: #4731bc;
$custom-light: #886cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4731bc",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 249.496,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.20405,
    "h": 281
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#4731BC
secondary
#BECA7F
accent
#E246C9
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4731BC

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

Preview Lab → · Contrast checker → · Palette generator →

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