#4731B7#4731B7

#4731B7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.2% C 0.198 H 281.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4731B7
RGBrgb(71, 49, 183)
HSLhsl(250, 58%, 45%)
HSVhsv(250, 73%, 72%)
CMYKcmyk(61.2%, 73.2%, 0%, 28.2%)
CIE-LABlab(31.70, 46.89, -67.27)
CIE-LCHlch(31.70, 82.00, 304.88°)
OKLaboklab(43.17% 0.0401 -0.1939)
OKLCHoklch(43.17% 0.198 281.7)
XYZxyz(12.2414, 6.9542, 45.4878)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731B7 #A1B731
analogous
#315EB7 #4731B7 #8A31B7
triadic
#4731B7 #B74731 #31B747
tetradic
#4731B7 #B7315E #A1B731 #31B78A
square
#4731B7 #B7315E #A1B731 #31B78A
split-complementary
#4731B7 #B78A31 #5EB731
monochromatic
#221756 #342487 #4731B7 #6954D1 #9384DE

Accessibility & contrast

On white

8.78
#4731B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4731B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731B7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731B7#FFFFFF#000000##FFFFFF
##4731B71.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4731b7;
/* rgb */ color: rgb(71, 49, 183);
/* oklch */ color: oklch(43.2% 0.198 281.7);
Tailwind
colors: {
  custom: {
    50: '#886cce',
    500: '#4731b7',
    950: '#000000',
  },
}
SCSS
$custom: #4731b7;
$custom-light: #886cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4731b7",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 249.851,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.19805,
    "h": 281.7
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#4731B7
secondary
#BBC87C
accent
#E147C8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4731B7

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

Preview Lab → · Contrast checker → · Palette generator →

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