#4741B8#4741B8

#4741B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.181 H 278.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4741B8
RGBrgb(71, 65, 184)
HSLhsl(243, 48%, 49%)
HSVhsv(243, 65%, 72%)
CMYKcmyk(61.4%, 64.7%, 0%, 27.8%)
CIE-LABlab(35.16, 37.99, -62.19)
CIE-LCHlch(35.16, 72.88, 301.42°)
OKLaboklab(45.69% 0.0274 -0.1791)
OKLCHoklch(45.69% 0.181 278.7)
XYZxyz(13.1378, 8.5799, 46.3019)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741B8 #B2B841
analogous
#4177B8 #4741B8 #8341B8
triadic
#4741B8 #B84741 #41B847
tetradic
#4741B8 #B84177 #B2B841 #41B883
square
#4741B8 #B84177 #B2B841 #41B883
split-complementary
#4741B8 #B88341 #77B841
monochromatic
#24215E #36318B #4741B8 #706BCB #9C99DB

Accessibility & contrast

On white

7.73
#4741B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4741B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4741B8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741B8#FFFFFF#000000##FFFFFF
##4741B81.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4741b8;
/* rgb */ color: rgb(71, 65, 184);
/* oklch */ color: oklch(45.7% 0.181 278.7);
Tailwind
colors: {
  custom: {
    50: '#8676ce',
    500: '#4741b8',
    950: '#000000',
  },
}
SCSS
$custom: #4741b8;
$custom-light: #8676ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4741b8",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 243.025,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.18117,
    "h": 278.7
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#4741B8
secondary
#C4C78E
accent
#D750D1
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4741B8

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

Preview Lab → · Contrast checker → · Palette generator →

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