#4740AC#4740AC

#4740AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.167 H 280.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4740AC
RGBrgb(71, 64, 172)
HSLhsl(244, 46%, 46%)
HSVhsv(244, 63%, 67%)
CMYKcmyk(58.7%, 62.8%, 0%, 32.5%)
CIE-LABlab(33.95, 34.67, -57.04)
CIE-LCHlch(33.95, 66.75, 301.29°)
OKLaboklab(44.5% 0.0292 -0.164)
OKLCHoklch(44.5% 0.167 280.1)
XYZxyz(11.8760, 7.9841, 39.9370)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740AC #A5AC40
analogous
#406FAC #4740AC #7D40AC
triadic
#4740AC #AC4740 #40AC47
tetradic
#4740AC #AC406F #A5AC40 #40AC7D
square
#4740AC #AC406F #A5AC40 #40AC7D
split-complementary
#4740AC #AC7D40 #6FAC40
monochromatic
#221F53 #352F7F #4740AC #6A64C5 #9591D6

Accessibility & contrast

On white

8.09
#4740AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4740AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740AC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740AC#FFFFFF#000000##FFFFFF
##4740AC1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#055B70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4740ac;
/* rgb */ color: rgb(71, 64, 172);
/* oklch */ color: oklch(44.5% 0.167 280.1);
Tailwind
colors: {
  custom: {
    50: '#8475c6',
    500: '#4740ac',
    950: '#000000',
  },
}
SCSS
$custom: #4740ac;
$custom-light: #8475c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4740ac",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 243.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.16657,
    "h": 280.1
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#4740AC
secondary
#BDC187
accent
#D552CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4740AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4740AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva