#4741B4#4741B4

#4741B4 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.176 H 279.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4741B4
RGBrgb(71, 65, 180)
HSLhsl(243, 47%, 48%)
HSVhsv(243, 64%, 71%)
CMYKcmyk(60.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(34.83, 36.68, -60.36)
CIE-LCHlch(34.83, 70.63, 301.29°)
OKLaboklab(45.34% 0.0277 -0.1737)
OKLCHoklch(45.34% 0.176 279.1)
XYZxyz(12.7244, 8.4145, 44.1248)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741B4 #AEB441
analogous
#4175B4 #4741B4 #8041B4
triadic
#4741B4 #B44741 #41B447
tetradic
#4741B4 #B44175 #AEB441 #41B480
square
#4741B4 #B44175 #AEB441 #41B480
split-complementary
#4741B4 #B48041 #75B441
monochromatic
#24215A #353187 #4741B4 #6E69C9 #9A96D9

Accessibility & contrast

On white

7.83
#4741B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4741B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4741B4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741B4#FFFFFF#000000##FFFFFF
##4741B41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4741b4;
/* rgb */ color: rgb(71, 65, 180);
/* oklch */ color: oklch(45.3% 0.176 279.1);
Tailwind
colors: {
  custom: {
    50: '#8676cb',
    500: '#4741b4',
    950: '#000000',
  },
}
SCSS
$custom: #4741b4;
$custom-light: #8676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4741b4",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 243.13,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.17592,
    "h": 279.1
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#4741B4
secondary
#C2C58C
accent
#D751D0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4741B4

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

Preview Lab → · Contrast checker → · Palette generator →

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