#4741B2#4741B2

#4741B2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.173 H 279.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4741B2
RGBrgb(71, 65, 178)
HSLhsl(243, 47%, 48%)
HSVhsv(243, 63%, 70%)
CMYKcmyk(60.1%, 63.5%, 0%, 30.2%)
CIE-LABlab(34.67, 36.02, -59.44)
CIE-LCHlch(34.67, 69.51, 301.22°)
OKLaboklab(45.17% 0.0279 -0.171)
OKLCHoklch(45.17% 0.173 279.3)
XYZxyz(12.5222, 8.3336, 43.0595)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741B2 #ACB241
analogous
#4173B2 #4741B2 #8041B2
triadic
#4741B2 #B24741 #41B247
tetradic
#4741B2 #B24173 #ACB241 #41B280
square
#4741B2 #B24173 #ACB241 #41B280
split-complementary
#4741B2 #B28041 #73B241
monochromatic
#232058 #353185 #4741B2 #6D68C8 #9995D8

Accessibility & contrast

On white

7.87
#4741B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4741B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4741B2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741B2#FFFFFF#000000##FFFFFF
##4741B21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4741b2;
/* rgb */ color: rgb(71, 65, 178);
/* oklch */ color: oklch(45.2% 0.173 279.3);
Tailwind
colors: {
  custom: {
    50: '#8576ca',
    500: '#4741b2',
    950: '#000000',
  },
}
SCSS
$custom: #4741b2;
$custom-light: #8576ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4741b2",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 243.186,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.17329,
    "h": 279.3
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#4741B2
secondary
#C1C48B
accent
#D652CF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4741B2

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

Preview Lab → · Contrast checker → · Palette generator →

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