#4741B7#4741B7

#4741B7 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.180 H 278.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4741B7
RGBrgb(71, 65, 183)
HSLhsl(243, 48%, 49%)
HSVhsv(243, 64%, 72%)
CMYKcmyk(61.2%, 64.5%, 0%, 28.2%)
CIE-LABlab(35.08, 37.67, -61.73)
CIE-LCHlch(35.08, 72.32, 301.39°)
OKLaboklab(45.6% 0.0274 -0.1778)
OKLCHoklch(45.6% 0.18 278.8)
XYZxyz(13.0333, 8.5381, 45.7518)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741B7 #B1B741
analogous
#4176B7 #4741B7 #8241B7
triadic
#4741B7 #B74741 #41B747
tetradic
#4741B7 #B74176 #B1B741 #41B782
square
#4741B7 #B74176 #B1B741 #41B782
split-complementary
#4741B7 #B78241 #76B741
monochromatic
#24215D #35318A #4741B7 #706BCA #9B98DA

Accessibility & contrast

On white

7.76
#4741B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4741B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4741B7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741B7#FFFFFF#000000##FFFFFF
##4741B71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4741b7;
/* rgb */ color: rgb(71, 65, 183);
/* oklch */ color: oklch(45.6% 0.180 278.8);
Tailwind
colors: {
  custom: {
    50: '#8676ce',
    500: '#4741b7',
    950: '#000000',
  },
}
SCSS
$custom: #4741b7;
$custom-light: #8676ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4741b7",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 243.051,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.456,
    "c": 0.17987,
    "h": 278.8
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#4741B7
secondary
#C3C68E
accent
#D751D0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4741B7

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

Preview Lab → · Contrast checker → · Palette generator →

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