#4740AE#4740AE

#4740AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.169 H 279.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4740AE
RGBrgb(71, 64, 174)
HSLhsl(244, 46%, 47%)
HSVhsv(244, 63%, 68%)
CMYKcmyk(59.2%, 63.2%, 0%, 31.8%)
CIE-LABlab(34.11, 35.32, -57.97)
CIE-LCHlch(34.11, 67.89, 301.35°)
OKLaboklab(44.66% 0.0291 -0.1667)
OKLCHoklch(44.66% 0.169 279.9)
XYZxyz(12.0695, 8.0615, 40.9562)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740AE #A7AE40
analogous
#4070AE #4740AE #7E40AE
triadic
#4740AE #AE4740 #40AE47
tetradic
#4740AE #AE4070 #A7AE40 #40AE7E
square
#4740AE #AE4070 #A7AE40 #40AE7E
split-complementary
#4740AE #AE7E40 #70AE40
monochromatic
#221F55 #353081 #4740AE #6B65C6 #9692D7

Accessibility & contrast

On white

8.04
#4740AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4740AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740AE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740AE#FFFFFF#000000##FFFFFF
##4740AE1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4740ae;
/* rgb */ color: rgb(71, 64, 174);
/* oklch */ color: oklch(44.7% 0.169 279.9);
Tailwind
colors: {
  custom: {
    50: '#8575c7',
    500: '#4740ae',
    950: '#000000',
  },
}
SCSS
$custom: #4740ae;
$custom-light: #8575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4740ae",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 243.818,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.16924,
    "h": 279.9
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#4740AE
secondary
#BEC288
accent
#D652CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4740AE

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

Preview Lab → · Contrast checker → · Palette generator →

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