#4731BF#4731BF

#4731BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.208 H 280.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4731BF
RGBrgb(71, 49, 191)
HSLhsl(249, 59%, 47%)
HSVhsv(249, 74%, 75%)
CMYKcmyk(62.8%, 74.3%, 0%, 25.1%)
CIE-LABlab(32.47, 49.32, -70.72)
CIE-LCHlch(32.47, 86.22, 304.89°)
OKLaboklab(43.95% 0.0383 -0.2041)
OKLCHoklch(43.95% 0.208 280.6)
XYZxyz(13.0978, 7.2968, 49.9983)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731BF #A9BF31
analogous
#3162BF #4731BF #8E31BF
triadic
#4731BF #BF4731 #31BF47
tetradic
#4731BF #BF3162 #A9BF31 #31BF8E
square
#4731BF #BF3162 #A9BF31 #31BF8E
split-complementary
#4731BF #BF8E31 #62BF31
monochromatic
#23185E #35258E #4731BF #6C59D4 #978AE1

Accessibility & contrast

On white

8.54
#4731BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4731BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731BF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731BF#FFFFFF#000000##FFFFFF
##4731BF1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4731bf;
/* rgb */ color: rgb(71, 49, 191);
/* oklch */ color: oklch(44.0% 0.208 280.6);
Tailwind
colors: {
  custom: {
    50: '#896cd4',
    500: '#4731bf',
    950: '#000000',
  },
}
SCSS
$custom: #4731bf;
$custom-light: #896cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4731bf",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 249.296,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.20762,
    "h": 280.6
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#4731BF
secondary
#BFCB81
accent
#E245CA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4731BF

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

Preview Lab → · Contrast checker → · Palette generator →

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