#4741AF#4741AF

#4741AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.169 H 279.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4741AF
RGBrgb(71, 65, 175)
HSLhsl(243, 46%, 47%)
HSVhsv(243, 63%, 69%)
CMYKcmyk(59.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(34.43, 35.03, -58.06)
CIE-LCHlch(34.43, 67.81, 301.11°)
OKLaboklab(44.92% 0.0281 -0.167)
OKLCHoklch(44.92% 0.169 279.5)
XYZxyz(12.2242, 8.2145, 41.4905)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741AF #A9AF41
analogous
#4172AF #4741AF #7E41AF
triadic
#4741AF #AF4741 #41AF47
tetradic
#4741AF #AF4172 #A9AF41 #41AF7E
square
#4741AF #AF4172 #A9AF41 #41AF7E
split-complementary
#4741AF #AF7E41 #72AF41
monochromatic
#232056 #353082 #4741AF #6C67C6 #9793D7

Accessibility & contrast

On white

7.95
#4741AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4741AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4741AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741AF#FFFFFF#000000##FFFFFF
##4741AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4741af;
/* rgb */ color: rgb(71, 65, 175);
/* oklch */ color: oklch(44.9% 0.169 279.5);
Tailwind
colors: {
  custom: {
    50: '#8576c8',
    500: '#4741af',
    950: '#000000',
  },
}
SCSS
$custom: #4741af;
$custom-light: #8576c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4741af",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 243.273,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44919,
    "c": 0.1693,
    "h": 279.5
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#4741AF
secondary
#BFC289
accent
#D552CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4741AF

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

Preview Lab → · Contrast checker → · Palette generator →

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