#4731BB#4731BB

#4731BB is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.203 H 281.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4731BB
RGBrgb(71, 49, 187)
HSLhsl(250, 58%, 46%)
HSVhsv(250, 74%, 73%)
CMYKcmyk(62%, 73.8%, 0%, 26.7%)
CIE-LABlab(32.09, 48.11, -69.00)
CIE-LCHlch(32.09, 84.12, 304.88°)
OKLaboklab(43.56% 0.0392 -0.199)
OKLCHoklch(43.56% 0.203 281.1)
XYZxyz(12.6637, 7.1231, 47.7116)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731BB #A5BB31
analogous
#3160BB #4731BB #8C31BB
triadic
#4731BB #BB4731 #31BB47
tetradic
#4731BB #BB3160 #A5BB31 #31BB8C
square
#4731BB #BB3160 #A5BB31 #31BB8C
split-complementary
#4731BB #BB8C31 #60BB31
monochromatic
#22185A #35248B #4731BB #6A56D3 #9587E0

Accessibility & contrast

On white

8.66
#4731BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4731BB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731BB#FFFFFF#000000##FFFFFF
##4731BB1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4731bb;
/* rgb */ color: rgb(71, 49, 187);
/* oklch */ color: oklch(43.6% 0.203 281.1);
Tailwind
colors: {
  custom: {
    50: '#886cd1',
    500: '#4731bb',
    950: '#000000',
  },
}
SCSS
$custom: #4731bb;
$custom-light: #886cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4731bb",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 249.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.20286,
    "h": 281.1
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4731BB

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

Preview Lab → · Contrast checker → · Palette generator →

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